2025-06-22 17:53:11 +09:00

4 lines
139 B
Python

a, b, c = map(int,[input(), input(), input()])
res = str(a*b*c)
cnt = [res.count(str(i)) for i in range(10)]
print('\n'.join(map(str,cnt)))