#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define ll long long #define PI acos(-1.0) #define FOR(I,A,B) for(int I = (A); I < (B); ++I) int main(){ ll A, B; cout << 0 << " " << 0 << endl; cin >> A; cout << 0 << " " << A << endl; cin >> B; cout << B/2 << " " << A - B/2 << endl; return 0; }