/*#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello world!\n");
return 0;
}*/
/*#include <stdio.h>
int main()
{
int a,n,b=0;
scanf("%d",&n);
for(a=1; a<=n; a++){
if(n%a==0){
printf("%d ",a);
}
}
return 0;
}*/
/*#include<stdio.h>
int main()
{
int a,n,k,b=0;
scanf("%d %d",&n,&k);
for(a=1; a<=k; a++){
b=n*n;
}
printf("%d",n);
return 0;
}*/
/*#include <stdio.h>
int main()
{
int a,b=1,n;
scanf("%d",&n);
for(a=1; a<=n; a++){
b=b*a;
}
printf("%d", b);
return 0;
}
n b
4322 0
432 1
43 2
4 3
0 4
4+3+2+2
11
각 자릿수의 합
*/
/*#include <stdio.h>
int main()
{
int b=0,n;
scanf("%d",&n);
//for( ;n>0; ){
while(n>0){
n=n/10;
b=b+1;
}
printf("%d",b);
return 0;
}
n
43 2
4 2*10+3
0 23*10+4
234
*/
/*#include <stdio.h>
int main()
{
int a=0,b=0,n;
scanf("%d",&n);
for( ;n>0; ){
b=b*10+n%10;
a=a+(n%10);
n=n/10;
}
printf("%d\n%d",b,a);
return 0;
}*/
/* #include <stdio.h>
int main()
{
int a,n,k,b=1;
scanf("%d %d",&n,&k);
for(a=1; a<=k; a++){
b=b*n;
}
printf("%d",b);
return 0;
}*/
/*
#include<stdio.h>
int main()
{
int a,b,sum=0;
scanf("%d %d",&a,&b);
for(a; a<=b; a++){
if(a%2==0){
sum=sum-a;
}
else{
sum=sum+a;
}
}
printf("%d",sum);
return 0;
}
조건문
if else
switch case
반복문
for
while
do while
for( 시작식 ; 조건식 ; 증감식 ){
반복 명령;
}
시작식;
while(조건식){
반복 명령;
증감식;
}
while : 1071 1074 1078 1079 1080
*/
#include <stdio.h>
int main()
{
int n;
scanf("%d",&n);
while(n>=1){
printf("%d\n",n);
n--;
}
return 0;
}