/*
#include <stdio.h>
int main()
{
int a, i, n, c=0;
scanf("%d",&n);
for(i=1;i<=n;i++)
{
scanf("%d",&a);
if(a%2==0)
{
c++;
}
}
printf("%d",c);
return 0;
}
6의 약수 ??
6을 1, 2, 3, .. 6나누었을때 나누어떨어지면
n의 약수
n을 1부터 n까지의수로
#include<stdio.h>
int main()
{
int a, i, n;
scanf("%d",&n);
for(i=1;i<=n;i++)
{
if(n%i==0)
{
//i가 n의 약수
printf("%d ",i);
}
}
return 0;
}
*
#include<stdio.h>
int main()
{
int i, n, c=0;
scanf("%d",&n);
for(i=1;i<=n;i++)
{
if(n%i==0)
{
c++;
}
}
//c = n의 약수의 갯수
if(c==2)
{
printf("prime");
}
else
{
printf("not prime");
}
return 0;
}
#include<stdio.h>
int main()
{
int a, s, i, sum=0;
scanf("%d %d",&a,&s);
for(i=a;i<=s;i++)
{
if(i%2==1)
{
sum+=i;
}
else
{
sum-=i;
}
}
printf("%d",sum);aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
}
1258
1276
*/
/*
#include<stdio.h>
int main()
{
int a, n, i ,sum=0;
scanf("%d",&a);
for(i=1;i<=a;i++)
{
sum+=i;
}
printf("%d",sum);
return 0;
}
#include<stdio.h>
int main()
{
int a, n, i, sum=1;
scanf("%d",&a);
for(i=1;i<=a;i++)
{
sum*=i;
}
printf("%d",sum);
return 0;
}
k번 n을곱한 것
#include<stdio.h>
int main()
{
int n, i, k,c=1;
scanf("%d %d",&n,&k);
for(i=1;i<=k;i++)
{
c*=n;
}
printf("%d",c);
return 0;
}
*/



