#include using namespace std; int main(){ string S; cin >> S; while (S.size() < 3){ S = "0" + S; } cout << S << endl; }