PROGRAMMING:JMU Python operator change
When paying the bill, the salesperson should give the user the change. There are 10 yuan, 5 yuan and 1 yuan (assuming 1 yuan is the smallest unit) in the hands of the salesperson, and he hopes to use them in cash
Change as few banknotes as possible to the user. For example, if you need to give the user 17 yuan, you need to give the user 1 10 yuan, 1 5 yuan and 2 1 yuan.
Instead of giving users 17 pieces of 1 yuan or 3 pieces of 5 yuan and 2 pieces of 1 yuan.
###Input format:
Enter n to test n times.
Then enter n rows of integers, and each row represents the change.
###Output format:
Output in the following format. X represents the total amount of money to be changed,? Represents the quantity required for each denomination.
`x = ?* 10 + ?* 5 + ?* 1`
**Note: * * '='and' +'Have spaces around.
###Input example:
```in
five
one hundred and nine
seventeen
ten
three
0
```
###Output example:
```out
109 = 10*10 + 1*5 + 4*1
17 = 1*10 + 1*5 + 2*1
10 = 1*10 + 0*5 + 0*1
3 = 0*10 + 0*5 + 3*1
0 = 0*10 + 0*5 + 0*1
```
answer:If there is no answer, please comment
Change as few banknotes as possible to the user. For example, if you need to give the user 17 yuan, you need to give the user 1 10 yuan, 1 5 yuan and 2 1 yuan.
Instead of giving users 17 pieces of 1 yuan or 3 pieces of 5 yuan and 2 pieces of 1 yuan.
###Input format:
Enter n to test n times.
Then enter n rows of integers, and each row represents the change.
###Output format:
Output in the following format. X represents the total amount of money to be changed,? Represents the quantity required for each denomination.
`x = ?* 10 + ?* 5 + ?* 1`
**Note: * * '='and' +'Have spaces around.
###Input example:
```in
five
one hundred and nine
seventeen
ten
three
0
```
###Output example:
```out
109 = 10*10 + 1*5 + 4*1
17 = 1*10 + 1*5 + 2*1
10 = 1*10 + 0*5 + 0*1
3 = 0*10 + 0*5 + 3*1
0 = 0*10 + 0*5 + 0*1
```
answer:If there is no answer, please comment