#include
int main() {
char str[100];
scanf("%s", str);
int i = 0;
while (str[i] != '\0') {
if (str[i] >= 'a' && str[i] <= 'c') {
printf("2");
}
else if (str[i] >= 'd' && str[i] <= 'f') {
printf("3");
}
else if (str[i] >= 'g' && str[i] <= 'i') {
printf("4");
}
else if (str[i] >= 'j' && str[i] <= 'l') {
printf("5");
}
else if (str[i] >= 'm' && str[i] <= 'o') {
printf("6");
}
else if (str[i] >= 'p' && str[i] <= 's') {
printf("7");
}
else if (str[i] >= 't' && str[i] <= 'v') {
printf("8");
}
else if (str[i] >= 'w' && str[i] <= 'z') {
printf("9");
}
else if (str[i] >= 'A' && str[i] <= 'Z') {
printf("%c", ((str[i] - 'A') + 1) % 26 + 'a');
}
else {
printf("%c", str[i]);
}
i++;
}
return 0;
}
暂无评论