#include #include #include #include using namespace std; using ll = long long; using P = pair; int main(void){ ll r, gx, gy; cin >> r >> gx >> gy; cout << 3*gx << ' ' << 3*gy << endl; return 0; }