#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n; if (!(cin >> n)) return 0; cout << 1; for (int i = 1; i <= n; ++i) cout << ' ' << i; cout << '\n'; cout.flush(); return 0; }