#include <iostream>
#include <cstdio>
#include <cstring>
#include <string>
using namespace std;
int main(){
char s[10015];
int i;
gets(s);
for(i = 0; s[i]; i++){
if(s[i] == 'A')printf("[");
if(s[i] == ' ')printf(" ");
if(s[i] == 'E')printf("q");
if(s[i] == 'R')printf("w");
if(s[i] == 'T')printf("e");
if(s[i] == 'Y')printf("r");
if(s[i] == 'U')printf("t");
if(s[i] == 'I')printf("y");
if(s[i] == 'O')printf("u");
if(s[i] == 'P')printf("i");
if(s[i] == '[')printf("o");
if(s[i] == ']')printf("p");
if(s[i] == 'S')printf("]");
if(s[i] == 'D')printf("a");
if(s[i] == 'F')printf("s");
if(s[i] == 'G')printf("d");
if(s[i] == 'H')printf("f");
if(s[i] == 'J')printf("g");
if(s[i] == 'K')printf("h");
if(s[i] == 'L')printf("j");
if(s[i] == ';')printf("k");
if(s[i] == '\'')printf("l");
if(s[i] == 'X')printf("\\");
if(s[i] == 'C')printf("z");
if(s[i] == 'V')printf("x");
if(s[i] == 'B')printf("c");
if(s[i] == 'N')printf("v");
if(s[i] == 'M')printf("b");
if(s[i] == ',')printf("n");
if(s[i] == '.')printf("m");
if(s[i] == '/')printf(",");
if(s[i] == 'Z')printf("'");
if(s[i] == 'a')printf("[");
if(s[i] == 'e')printf("q");
if(s[i] == 'r')printf("w");
if(s[i] == 't')printf("e");
if(s[i] == 'y')printf("r");
if(s[i] == 'u')printf("t");
if(s[i] == 'i')printf("y");
if(s[i] == 'o')printf("u");
if(s[i] == 'p')printf("i");
if(s[i] == 's')printf("]");
if(s[i] == 'd')printf("a");
if(s[i] == 'f')printf("s");
if(s[i] == 'g')printf("d");
if(s[i] == 'h')printf("f");
if(s[i] == 'j')printf("g");
if(s[i] == 'k')printf("h");
if(s[i] == 'l')printf("j");
if(s[i] == 'x')printf("\\");
if(s[i] == 'c')printf("z");
if(s[i] == 'v')printf("x");
if(s[i] == 'b')printf("c");
if(s[i] == 'n')printf("v");
if(s[i] == 'm')printf("b");
if(s[i] == 'z')printf("'");
}
printf("\n");
return 0;
}
#include <cstdio>
#include <cstring>
#include <string>
using namespace std;
int main(){
char s[10015];
int i;
gets(s);
for(i = 0; s[i]; i++){
if(s[i] == 'A')printf("[");
if(s[i] == ' ')printf(" ");
if(s[i] == 'E')printf("q");
if(s[i] == 'R')printf("w");
if(s[i] == 'T')printf("e");
if(s[i] == 'Y')printf("r");
if(s[i] == 'U')printf("t");
if(s[i] == 'I')printf("y");
if(s[i] == 'O')printf("u");
if(s[i] == 'P')printf("i");
if(s[i] == '[')printf("o");
if(s[i] == ']')printf("p");
if(s[i] == 'S')printf("]");
if(s[i] == 'D')printf("a");
if(s[i] == 'F')printf("s");
if(s[i] == 'G')printf("d");
if(s[i] == 'H')printf("f");
if(s[i] == 'J')printf("g");
if(s[i] == 'K')printf("h");
if(s[i] == 'L')printf("j");
if(s[i] == ';')printf("k");
if(s[i] == '\'')printf("l");
if(s[i] == 'X')printf("\\");
if(s[i] == 'C')printf("z");
if(s[i] == 'V')printf("x");
if(s[i] == 'B')printf("c");
if(s[i] == 'N')printf("v");
if(s[i] == 'M')printf("b");
if(s[i] == ',')printf("n");
if(s[i] == '.')printf("m");
if(s[i] == '/')printf(",");
if(s[i] == 'Z')printf("'");
if(s[i] == 'a')printf("[");
if(s[i] == 'e')printf("q");
if(s[i] == 'r')printf("w");
if(s[i] == 't')printf("e");
if(s[i] == 'y')printf("r");
if(s[i] == 'u')printf("t");
if(s[i] == 'i')printf("y");
if(s[i] == 'o')printf("u");
if(s[i] == 'p')printf("i");
if(s[i] == 's')printf("]");
if(s[i] == 'd')printf("a");
if(s[i] == 'f')printf("s");
if(s[i] == 'g')printf("d");
if(s[i] == 'h')printf("f");
if(s[i] == 'j')printf("g");
if(s[i] == 'k')printf("h");
if(s[i] == 'l')printf("j");
if(s[i] == 'x')printf("\\");
if(s[i] == 'c')printf("z");
if(s[i] == 'v')printf("x");
if(s[i] == 'b')printf("c");
if(s[i] == 'n')printf("v");
if(s[i] == 'm')printf("b");
if(s[i] == 'z')printf("'");
}
printf("\n");
return 0;
}
No comments:
Post a Comment