#P33. 【例8.1】人民币支付
【例8.1】人民币支付
Description
Given an amount in yuan (e.g., ), determine the number of each denomination of RMB needed to make up this amount. Display the number of yuan, yuan, yuan, yuan, yuan, and yuan bills, using as many large denominations as possible.
Input Format
A positive integer less than .
Output Format
Output one integer per line, representing the number of yuan, yuan, yuan, yuan, yuan, and yuan bills from top to bottom.
Sample
7357
0
1
1
1
0
Related
In following homework: