COROANA TE ROG!
#include<iostream>
using namespace std;
int main() {
int A, B, C, N = 0;
cin >> A >> B >> C;
if (A < 0) {
N = N * 10 + A;
N = N * 10 - B;
N = N * 10 - C;
} else {
N = N * 10 + A;
N = N * 10 + B;
N = N * 10 + C;
}
cout << N << ' ' << N * 2;
return 0;
}