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