/*
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello world!\n");
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
int n;
n>10000;
scanf("%d",&n);
if(n<=500)
{
printf("%d",n*7/10); --------4056 조건문if
} 210819 에 몰랐던 연말정산 문제
else if(n<=1500)
{
printf("%d",350+(n-500)*4/10);
}
else if(n<=4500)
{
printf("%d",750+(n-1500)*15/100);
}
else if(n<=10000)
{
printf("%d",1200+(n-4500)/20);
}
else
{
printf("%d",1475+(n-10000)/50);
}
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
int m,n,x=1,sum=0,min=0;
scanf("%d\n%d",&m,&n);
while(x*x<m)
{
x++;
}
min=x*x;
while(x*x<=n) -------4571 반복문 while 완전제곱수
{
sum=sum+x*x;
x++;
}
printf("%d\n%d",sum,min);
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
int n,sum=0,max=0;
scanf("%d",&n);
while(n!=0)
{
max=max*10+n%10; --------4041 반복문 while 숫자 다루기
sum=sum+n%10;
n=n/10;
}
printf("%d\n%d",max,sum);
return 0;
}
*/