#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
double pi = 3.1415926, negative_pi = -3.1415926;
cout << fixed << setprecision(0) << pi << " " << negative_pi << endl;
cout << fixed << setprecision(1) << pi << " " << negative_pi << endl;
cout << fixed << setprecision(2) << pi << " " << negative_pi << endl;
cout << fixed << setprecision(3) << pi << " " << negative_pi << endl;
cout << fixed << setprecision(4) << pi << " " << negative_pi << endl;
cout << fixed << setprecision(5) << pi << " " << negative_pi << endl;
cout << fixed << setprecision(6) << pi << " " << negative_pi << endl;
cout << fixed << setprecision(7) << pi << " " << negative_pi << endl;
return 0;
}
/*
run:
3 -3
3.1 -3.1
3.14 -3.14
3.142 -3.142
3.1416 -3.1416
3.14159 -3.14159
3.141593 -3.141593
3.1415926 -3.1415926
*/