#include using namespace std; using ll = long long; int main() { string num; cin >> num; int n; n = 3-num.length(); for(int i = 1; i <= n;i++){ num = "0"+num; } cout << num << endl; }