Start: Jul, 05, 2019 08:40:00
2019年度暑期短学期达标测试
End: Jul, 05, 2019 11:40:00
Contest has ended!
Time elapsed: 03:00:00
Time remaining: 00:00:00

Problem_ID: D
Result: Accepted
Time: 3ms
Memory: 1120kB
Author: CT12810261281
In contest: 1281

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#include<stdio.h>
#include<string.h>
int main(void){
	char a[100];
	int b,i;
	while(scanf("%s",&a)!=EOF){
		b=strlen(a);
		for(i=0;i<b;i++){
			if(a[i]=='1'){
				a[i]='1';
			}
			else if(a[i]=='a'||a[i]=='b'||a[i]=='c'){
				a[i]='2';
			}
			else if(a[i]=='d'||a[i]=='e'||a[i]=='f'){
				a[i]='3';
			}
			else if(a[i]=='g'||a[i]=='h'||a[i]=='i'){
				a[i]='4';
			}
			else if(a[i]=='j'||a[i]=='k'||a[i]=='l'){
				a[i]='5';
			}
			else if(a[i]=='m'||a[i]=='n'||a[i]=='o'){
				a[i]='6';
			}
			else if(a[i]=='p'||a[i]=='q'||a[i]=='r'||a[i]=='s'){
				a[i]='7';
			}
			else if(a[i]=='t'||a[i]=='u'||a[i]=='v'){
				a[i]='8';
			}
				else if(a[i]=='w'||a[i]=='x'||a[i]=='y'||a[i]=='z'){
				a[i]='9';
			}
				else if(a[i]=='0'){
				a[i]='0';
			}
				else if(a[i]=='A'){
					a[i]='b';
			}
                  else if(a[i]=='B'){
					a[i]='c';
			}
				  else if(a[i]=='C'){
					a[i]='d';
			}
				  else if(a[i]=='D'){
					a[i]='e';
			}
				  else if(a[i]=='E'){
					a[i]='f';
			}
				  else if(a[i]=='F'){
					a[i]='g';
			}
				  else if(a[i]=='G'){
					a[i]='h';
			}
                 else if(a[i]=='H'){
					a[i]='i';
			}
				 else if(a[i]=='I'){
					a[i]='j';
			}
				 else if(a[i]=='J'){
					a[i]='k';
			}
				 else if(a[i]=='K'){
					a[i]='l';
			}
				 else if(a[i]=='L'){
					a[i]='m';
			}
				 else if(a[i]=='M'){
					a[i]='n';
			}
				 else if(a[i]=='N'){
					a[i]='o';
			}
				 else if(a[i]=='O'){
					a[i]='p';
			}
				 else if(a[i]=='P'){
					a[i]='q';
			}
				 else if(a[i]=='Q'){
					a[i]='r';
			}
				 else if(a[i]=='R'){
					a[i]='s';
			}
				 else if(a[i]=='S'){
					a[i]='t';
			}
				 else if(a[i]=='T'){
					a[i]='u';
			}
				 else if(a[i]=='U'){
					a[i]='v';
			}
				 else if(a[i]=='V'){
					a[i]='w';
			}
				 else if(a[i]=='W'){
					a[i]='x';
			}
				 else if(a[i]=='X'){
					a[i]='y';
			}
				 else if(a[i]=='Y'){
					a[i]='z';
			}
				 else if(a[i]=='Z'){
					a[i]='a';
			}
		}
		printf("%s\n",a);
	}
	return 0;
}