Sanggeun is trying to repair a broken battle droid. The price of each part that makes up a battle droid is as follows.
| Part | Price |
|---|---|
| Blaster rifle | $350.34 |
| Visual sensor | $230.90 |
| Auditory sensor | $190.55 |
| Arm | $125.30 |
| Leg | $180.90 |
Given the number of each required part, write a program that computes the total cost of buying all of them.
The first line contains the number of test cases. Each test case consists of five non-negative integers $A$, $B$, $C$, $D$, $E$.
For each test case, print the total cost of buying all the given parts, rounded to two decimal places, one per line. Prefix the amount with a dollar sign ($). The answer is always at most 100,000,000.