#include using namespace std; using ll = long long; int main () { ll gx, gy; cin >> gx >> gx >> gy; cout << gx * 3 << " " << gy * 3 << endl; }