#include <iostream>
using namespace std;
 
int main() {
	int n;
    cin >> n;
    n = (n * 10) + 30003;
    cout << n;
	return 0;
}