#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define ALL(v) v.begin(),v.end()
typedef long long ll;
 
#include<bits/stdc++.h>
using namespace std;
 
int main(){
  ios::sync_with_stdio(false);
  std::cin.tie(nullptr);
  
  ll x,y;
  x=109552575;
  y=408855776;
  cout<<0<<" "<<0<<endl;
  cout<<x<<" "<<y<<endl;
  cout<<y<<" "<<x<<endl;

  return 0;
}