#include <bits/stdc++.h>
using namespace std;

int main() {
	// your code goes here
    double a = 0.49999999999999;
    float b = 0.49999999999999;
    cout << a << " " << b << "\n";
    cout << round(a) << " " << round(b);
	return 0;
}