#include <iostream>
#include <string>
#include <sstream>
#include <iomanip>
#include <vector>
using namespace std;
int main()
{
std::vector<std::string> strs;
for (int i = 0; i < 124; i++)
{
std::ostringstream os;
os << std::setfill('0') << std::setw(3) << i;
strs.push_back(os.str());
}
for (const auto& s : strs)
{
std::cout << s << "\n";
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8c3N0cmVhbT4KI2luY2x1ZGUgPGlvbWFuaXA+CiNpbmNsdWRlIDx2ZWN0b3I+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpCnsKCXN0ZDo6dmVjdG9yPHN0ZDo6c3RyaW5nPiBzdHJzOwoJZm9yIChpbnQgaSA9IDA7IGkgPCAxMjQ7IGkrKykKCXsKCQlzdGQ6Om9zdHJpbmdzdHJlYW0gb3M7CgkJb3MgPDwgc3RkOjpzZXRmaWxsKCcwJykgPDwgc3RkOjpzZXR3KDMpIDw8IGk7CgkJc3Rycy5wdXNoX2JhY2sob3Muc3RyKCkpOwoJfQoJCglmb3IgKGNvbnN0IGF1dG8mIHMgOiBzdHJzKQoJewoJCXN0ZDo6Y291dCA8PCBzIDw8ICJcbiI7Cgl9Cn0=