if __name__ == '__main__':
n = int(input())
r = ""
m = {"A": 1, "B": 2, "C": 3, "D": 4}
for i in range(n):
inputs = input().split(" ")
for j in range(4):
if inputs[j][-1] == "T":
r += str(m[inputs[j][0]])
break
print(r)
PAT (Basic Level) Practice (中文)1076 Wifi密码
最新推荐文章于 2024-09-03 17:22:28 发布