Meg and Parwat are planning to go on a tripsy bike ride with Charville
Charville being unaware of such a situation leaves the college alone with his bike.Now parwat need to fetch him using his own bike.
Charville is a rash bike rider.
It is predicted that his acceleration of his bike increases linearly with time with a constant factor of k1.
At time t=0, his bike is stationary and also hasn't moved yet.
Since Charville cannot pickup his phone while riding, Parwat needs to personally go and catch him.
For this reason,he needs to find the distance charville has covered as a function of time.
Can you help him?
INPUT:-
First line consist of two integers k1 and q where k1 represents the constant factor in the acceleration and q represents the number of queries.
For next q lines, an integer t will be given representing the time at which the distance has to be calculated.
OUTPUT:-
For each query q print the distance calculated at that particular time.Answer should be rounded to 2 decimal places.
CONSTRAINTS:-
1.0<=k,t<=1000.0
1<q<1000