/*
#include <stdio.h>
#include <string.h>
int main()
{
int i,a;
char str[5]={};
scanf("%s",str);
if(str[0]==73&&str[1]=='O'&&str[2]=='I'&&str[3]==NULL)
{
printf("%s","IOI is the International Olympiad in Informatics.");
}
else
{
printf("%s","I don't care.");
}
return 0;
}
*/
/**
아스키코드 : 모든 문자는 고유의 코드넘버가 있다!!
ASCII CODE
American
Standard
Communication
Information
Interchange
char str[50] = "hello";
str[0] = 'h'
str[1] = 'e'
str[2] = 'l'
...
'\0' 0 NULL
' ' 32
'0' 48
'1' 49
'2'
...
'9'
'A' 65
'B' 66
...
'Z'
'a' 97
'b' 98
...
'z'
500자리 숫자 저장
char str[5000]="5465843543545435434534....";
*/
/*
#include <stdio.h>
#include <string.h>
int main()
{
printf("%c\n",'h');
//printf("%d\n",'h');
printf("%c\n",'h'+1);
printf("%c\n",'h'-32);
printf("%c\n",'1');
printf("%d\n",'1');
return 0;
}
#include <stdio.h>
#include <string.h>
int main()
{
int i,a;
char str[1001]={};
scanf("%s",str);
for(i=0 ; str[i]!=NULL ; i++)
{
if(str[i]<91&&str[i]>64)
{
printf("%c",str[i]+32);
}
else if(str[i]>96&&str[i]<123)
{
printf("%c",str[i]-32);
}
else
{
printf("%c",str[i]);
}
}
return 0;
}
#include <stdio.h>
#include <string.h>
int main()
{
int a,i;
char str[201]={};
gets(str);
for(i=0 ; str[i]!=NULL ; i++)
{
if(str[i]==' ')
{
printf("%c",' ');
}
else if(str[i]=='a'||str[i]=='b'||str[i]=='c')
{
printf("%c",str[i]+23);
}
else
{
printf("%c",str[i]-3);
}
}
return 0;
}
#include <stdio.h>
#include <string.h>
int main()
{
int a,i;
char str[201]={};
gets(str);
for(i=0 ; str[i]!=NULL ; i++)
{
if(str[i]==' ')
{
printf("%c",' ');
}
else if(str[i]=='z'||str[i]=='y'||str[i]=='x')
{
printf("%c",str[i]-23);
}
else
{
printf("%c",str[i]+3);
}
}
return 0;
}
#include <stdio.h>
#include <string.h>
int main()
{
int a=0,i;
char str[501]={};
scanf("%s",str);
for(i=0 ; str[i]!=NULL ; i++)
{
a=a+str[i];
}
if(a%3==0)
{
printf("1");
}
else
{
printf("0");
}
return 0;
}
*/
#include <stdio.h>
#include <string.h>
int main()
{
int a,i;
char str[1000001]={};
scanf("%s",str);
}



