#include #define rep(i, a, n) for(int i = a; i < (n); i++) using namespace std; using ll = long long; using P = pair; const int INF = 1001001001; const ll LINF = 1001002003004005006ll; //const int mod = 1000000007; //const int mod = 998244353; int main() { ll a, b, c, d; cin >> a >> b >> c >> d; cout << a*c - b*d << " " << b*c + a*d << endl; return 0; }