#include #include #include #include #include #include #include #include #include #include using ll = long long; using namespace std; int main(){ ll a, b, c, d, ans1, ans2; cin >> a >> b >> c >> d; ans1 = a*c - b*d; ans2 = a*d + b*c; cout << ans1 << " " << ans2 << endl; }