#include <bits/stdc++.h>   using namespace std;   int main() {     long long i, j, k, l, m, n, t, x, y;     cin >> n;     if (n % 2 == 0)       cout << n + 4 <<     << 4 << endl;     else       cout << n + 9 <<     << 9 << endl;     return 0;   }   