#include using namespace std; typedef long long ll; #define int ll #define _FastIO ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0) #define pb emplace_back #define pii pair #define F first #define S second const int mod = 1000000007; const int MAXX = 1e6 + 5; int n; signed main() { _FastIO; cin >> n; if(!n){ cout << "9 1" << endl; return 0; } int ans = 9 * n + 2; cout << ans << " 1" << endl; return 0; }