/*
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello world!\n");
return 0;
}
*/
/*
#include <stdio.h>
#include <string.h>
int main()
{
char str[101]={};
int i;
scanf("%s",str);
for(i=0;str[i]!=NULL;i++)
{
if(str[i]==',')
{
str[i]=' ';
}
}
printf("%s",str);
return 0;
}
아스키코드 : 각 문자는 고유의 코드넘버를 가지고 있따
'A' 65번
'B' 66번
'C' 67번
...
'Z' 90번
'a' 97번
'b' 98번
...
'z' 120번
소문자 - 대문자 = 32
'+' 43번
' ' 32번
NULL 0번
'0' 48번
'1' 49번
'2' 50번
...
'9'
'10' 이런 문자는 존재하지 않는다!! 문자가 아니다!! (x)
['8' 56번] -> '8'-'0' -> 8
*/
/*
#include <stdio.h>
#include <string.h>
int main()
{
printf("%c",97);
return 0;
}
*/
/*
#include <stdio.h>
#include <string.h>
int main()
{
char str[101]={};
int i;
scanf("%s",str);
for(i=0;str[i]!=NULL;i++)
{
if('A'<=str[i]&&'Z'>=str[i])
{
str[i]=str[i]+32;
}
else if('a'<=str[i]&&'z'>=str[i])
{
str[i]=str[i]-32;
}
}
printf("%s",str);
return 0;
}
*/
/*
#include <stdio.h>
#include <string.h>
int main()
{
char str[21]={}, str1[21]={}, str2[21]={};
int i;
scanf("%s",str);
for(i=0;str[i]!=NULL;i++)
{
str1[i]=str[i]+2;
str2[i]=str[i]*7%80+48;
}
printf("%s\n%s",str1, str2);
return 0;
}
어떤 수의 각 자리수의 합이 3의배수이면, 그 수도 3의 배수이다
*/
/*
#include <stdio.h>
#include <string.h>
int main()
{
char str[501]={};
int n,s=0,i;
scanf("%s",str);
for(i=0;str[i]!=NULL;i++)
{
s+=str[i];
}
if(s%3==0)
{
printf("1");
}
else
{
printf("0");
}
return 0;
}
*/
#include <stdio.h>
#include <string.h>
int main()
{
char str[201]={};
int i;
gets(str);
for(i=0;str[i]!=NULL;i++)
{
if(str[i]>='a'||str[i]<='w')
{
str[i]+=3;
}
else if(str[i]=='x'||str[i]=='z'||str[i]=='y')
{
str[i]-=3;
}
}
printf("%s",str);
return 0;
}