Solve the Equation
Time Limit: 1 sec
The Problem
Consider a particle moving along a straight line with uniform acceleration 'a'. At t=0, let the particle be at A and u be its initial velocity and when t = t, v be its final velocity.
From the above equation you have to find the value of v where the value of u, a and t are given.
The Input
Input file contain several lines of input. Each line consists of three positive integers denotes u, a and t, all integers are less than or equal to 100 in the input file. Input is terminated by EOF.
The Output
For each line of input you have to print the value of v in a line.
Sample Input
1 2 3
100 100 100
Sample Output
7
10100
Inter University Programming Contest - 2015 [BGC Trust University Bangladesh]
Problem Setter: Hasnayn Ahmed Shakil