#include <iostream>
using namespace std;
 
int main() {
	int n,t;
	cin >> n;
	t = 3;
	cout << t << n << t << endl;
	return 0;
}