
1
2
3
|
for _ in range(int(input())):
tmp=list(input().split())
if tmp[0]=='Simon' and tmp[1]=='says' : print("",*tmp[2:])
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
[백준] 11365 (0) | 2021.01.13 |
---|---|
[백준] 11296 (0) | 2021.01.13 |
[백준] 10987 (0) | 2021.01.13 |
[백준] 10953 (0) | 2021.01.13 |
[백준] 10941 (0) | 2021.01.13 |
댓글