#include using namespace std; int main() { long long A, B, C, D; cin >> A >> B >> C >> D; long long N, M; N = A*C - B*D; M = A*D + B*C; cout << N << " " << M << endl; return 0; }