a = int(input()) b = int (a / 100) c = a - (b * 100) d = int(c / 50) e = c - (d * 50) f = int(e / 10) g = e - (f * 10) print ("100:" + str(b)) print("50:" + str(d)) print ("10:"+ str(f)) print("1:" + str(g))
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter