3 lines
95 B
Python
3 lines
95 B
Python
N = input().count
|
|
needs = [(N('6')+N('9')+1)//2] + [N(i) for i in '01234578']
|
|
print(max(needs)) |