1041 考試座位號 (15分)

N = int(input())
students = {}
for i in range(0, N):
    num, s_1, s_2 = input().split()
    students[s_1] = num + s_2
M = int(input())
m_list = list(input().split())
for i in m_list:
    print(students[i][0:16], students[i][16:])

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章