← Back to List
33689번: CPDU ↗
Solutions
Python 3
102 B | 102 chars
ans = 0 for _ in range(int(input())): s = input()[0] if s == "C": ans += 1 print(ans)