int main(){
double x , y ;
cin >> x ;
cin >> y ;
if (x < 0 and y < 0) {
cout << abs(x) << " " << abs(y) << endl ;
} else if ((x || y < 0) || (x || y > 0)) {
cout << x + 0.5 << y+0.5 << endl ;
}else if ((x > 0 and y > 0) and ( x >2 and y > 2 )) {
cout << x / 10 << " " << y / 10 << endl ;
} else {
cout << x << " " << y << endl ;
}
}