← Back to List

16445번: Desvendando Monty Hall ↗

Solutions

Python 3
96 B | 96 chars
s = 0
last = 1
for i in range(int(input())):
    if int(input()) in [2,3]:
        s+=1
print(s)