9 lines
209 B
Python
9 lines
209 B
Python
|
a=int(input())
|
||
|
b=a//100
|
||
|
c=(a-b*100)//50
|
||
|
d=(a-b*100-c*50)//20
|
||
|
e=(a-b*100-c*50-d*20)//10
|
||
|
f=(a-b*100-c*50-d*20-e*10)//5
|
||
|
g=(a-b*100-c*50-d*20-e*10-f*5)//1
|
||
|
print(b,"*100,",c,"*50,",d,"*20",e,"*10,",f,"*5,",g,"*1")
|