lst = []
for i in range(3):
lst = list(map(int,input().split()))
if lst.count(1) == 3:
print("A")
elif lst.count(1) == 2:
print("B")
elif lst.count(1) == 1:
print("C")
elif lst.count(1) == 0:
print("D")
elif lst.count(1) == 4:
print("E")
'문제풀이 > 백준(Boj) 문제풀이' 카테고리의 다른 글
[백준][구현] 1475. 방 번호 (파이썬/Python) (0) | 2021.10.29 |
---|---|
[백준][구현] 10808. 알파벳 개수 (파이썬/Python) (0) | 2021.10.28 |
[백준][구현] 3046. R2 (파이썬/Python) (0) | 2021.10.28 |
[백준][구현] 2442. 별 찍기 - 5 (파이썬/Python) (0) | 2021.10.28 |
[백준][구현] 2446. 별 찍기 - 9 (파이썬/Python) (0) | 2021.10.27 |