total = float(input())

dollars = total//1
quarters = total//0.25
dimes = total//0.10
nickels = total//0.05
pennies = total/0.01

print("The maximum amount of dollars", dollars)
print("The maximum amount of quarters", quarters)
print("The maximum amount of dimes", dimes)
print("The maximum amount of nickel", nickels)
print("The maximum amount of penny", pennies)
