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