Files
CodeTest/baekjoon/방_번호/solution_6705127.py
2024-08-29 16:24:01 +09:00

4 lines
134 B
Python

N = list(input())
needs = [N.count('{}'.format(i)) for i in range(10)]
needs[6],needs[9]= (1+needs[6]+needs[9])//2,0
print(max(needs))