#include using namespace std; int main(){ int N; cin >> N; cout << setfill('0') << right << setw(3) << N; }