#include<stdio.h>
#include<string.h>
main(){  int c;
while (!feof(stdin)) {
   c=fgetc(stdin); if (c==EOF) break;
   if (strchr("abcdefghijklmABCDEFGHIJKLM",c)) fputc(c+13,stdout);
   else if (strchr("nopqrstuvwxyzNOPQRSTUVWXYZ",c)) fputc(c-13,stdout);
   else fputc(c,stdout);
}}
