#include <iostream>
using namespace std;
int main(){
int count;
cin >> count;
for(int i = 0; i<count; i++){
cout << i << endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKXsKCWludCBjb3VudDsKCWNpbiA+PiBjb3VudDsKCWZvcihpbnQgaSA9IDA7IGk8Y291bnQ7IGkrKyl7CgkJY291dCA8PCBpIDw8IGVuZGw7Cgl9CglyZXR1cm4gMDsKfQ==