2025-06-11 18:35:00 +09:00

8 lines
155 B
Python

coin = [25,10,5,1]
for _ in range(int(input())):
n = int(input())
res = []
for c in coin:
res.append(n//c)
n%=c
print(*res)