#include <iostream>
using namespace std;
int main(void)
{
cin.tie(NULL);
ios::sync_with_stdio(false);
int N;
cin >> N;
for(int i = N; i > 0; i--)
cout << i << '\n';
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKHZvaWQpCnsKICAgIGNpbi50aWUoTlVMTCk7CiAgICBpb3M6OnN5bmNfd2l0aF9zdGRpbyhmYWxzZSk7CiAgICAKICAgIGludCBOOwogICAgY2luID4+IE47CiAgICAKICAgIGZvcihpbnQgaSA9IE47IGkgPiAwOyBpLS0pCiAgICAgICAgY291dCA8PCBpIDw8ICdcbic7CgogICAgcmV0dXJuIDA7Cn0=