Pedometer Distance

No attempts yetTime limit1sMemory limit256 MB

Problem

A pedometer senses movement and counts steps fairly accurately. A step count alone is not a distance, so before using the device the owner measures her pace in centimetres and enters it. The pedometer multiplies the step count by the pace and shows how far she has walked.

You are given the pace and the step records of several pedometer users. Compute how far each record covers, in kilometres.

Input

The data for one user starts with the stride length LL, an integer in centimetres with 10<L<10010 < L < 100. A value of 00 ends the input and is not processed.

The next line holds NN, the number of records for this user, with 1N1001 \le N \le 100. Then follow NN lines, each with the number of steps taken during one time period. Each step count is a positive integer no greater than 2000020000.

Output

For each user, first print a line of this form.

User U

UU is the user number. Users are numbered from 11 in the order they appear in the input.

Then print NN lines. Each line holds the distance walked for one record, in kilometres, in this form.

d.ddddd

That is at least one digit before the decimal point and exactly five digits after it. The distance is a whole number of centimetres divided by 100000100000, so five digits represent it exactly and no rounding is needed.