A,B = map(int,input().split()) C,D = map(int,input().split()) print(A*C-B*D,B*C+A*D)