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