x,y=1,2 for _ in range(15): x,y=2*x+y,3*x+2*y print(0,0) print(2*x,0) print(x,y)