a,b,x,N = map(int, input().split()) print(0, 0)