#include <iostream>
using namespace std;
main(){ int n,x; while(n>=1||n<=100000) {cin>>n; for(x=1;n>=x;x++) {cout<<x<<" ";} cout<<"\n";} }
#include
main(){ int n,x; while(n>=1||n<=100000) {cin>>n; for(x=1;n>=x;x++) {cout< cout<<"\n";} }