#include using namespace std; void fast_io() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { fast_io(); long long a, b, c, d; cin >> a >> b >> c >> d; cout << a * c - b * d << " " << a * d + b * c << endl; }