#include #define rep(i,n) for(int i=0;i<(n);++i) using namespace std; int main(){ int res = 0; string elf = "locked"; while(elf == "locked" && res < 1000){ cout << setfill('0') << right << setw(3) << to_string(res) << endl; cin >> elf; res++; } return 0; }