#include <iostream>
using namespace std;

int main() {
	// your code goes here
	
	int n; cin >> n;
	printf("%03d\n", n);
	
	return 0;
}