#include using namespace std; typedef long long ll; #define loop(i,a,b) for(i=a;i=b;i--) #define vi vector #define vl vector #define vii vector< vector > #define vll vector< vector > #define vs vector const int inf=1000000001; const ll INF=1e16; #define MOD 1000000007 #define mod 1000000009 #define pi 3.14159265358979323846 int main(){ int x,y,i; cout<<0<<" "<<0<>d; if(d==0){ return 0; } cout<<1000000000<<" "<<0<>pd; if(pd==0){ return 0; } x=500000000+(d-pd)/2; y=d-x; cout<>d; if(d==0){ return 0; } }