본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 33689번 CPDU

by 현장 2025. 3. 30.

-Code

arr = [input()[0] for _ in range(int(input()))]
print(arr.count('C'))