# A single line of four space-separated integers denoting the respective values of x1, v1, x2, and v2.
# Sample input
# 0 2 5 3

x1, v1, x2, v2 = [int(points) for points in input().strip().split(' ')]
print(x1)
print(v1)
print(x2)
print(v2)