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

3 lines
95 B
Python

N = input().count
needs = [(N('6')+N('9')+1)//2] + [N(i) for i in '01234578']
print(max(needs))