import java.util.Scanner;
public class Main07 {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scan = new Scanner(System.in);
scan.useDelimiter("\n");
while (scan.hasNext()) {
String str = scan.next();
char c[] = str.toCharArray();
for (int st = 0; st < c.length; st++) {
if (c[st] == 'Z') {
c[st] = 'a';
continue;
}
if (c[st] >= 'A' && c[st] <= 'Y') {
c[st] = (char) (c[st] + 33);
continue;
}
if (c[st] == 'a' || c[st] == 'b' || c[st] == 'c') {
c[st] = '2';
continue;
}
if (c[st] == 'd' || c[st] == 'e' || c[st] == 'f') {
c[st] = '3';
continue;
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余2页未读,立即下载