LearnPy Hub
← Variables problems
Hard

Change in Coins

A shop gives change using 10, 5, 2 and 1 Tk coins, always using as many big coins as possible. Read the change amount and print how many of each coin, as 10:a 5:b 2:c 1:d.

Input

One integer amount.

Output

One line.

Sample 1

Input
38
Output
10:3 5:1 2:1 1:1

Sample 2

Input
0
Output
10:0 5:0 2:0 1:0
solution.py
Output appears here
Hints
Change in Coins · Python practice problem · LearnPy Hub