x, y = 0, 1 while y < 10 ** 9: nex = 4 * y - x if nex < 10 ** 9: x = y y = nex else: break print(0, 0) print(x, y) print(y, x)