Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/kinetik-energiya

Kinetic energy

Easy 1000 ms 64 MB 10%
Share

A body of mass $m$ kg moves at a speed of $v$ m/s. Find its kinetic energy $E$ (in joules):

$$E = \frac{m * v^{2}}{2}$$

A body of mass m moves at speed v; its energy E is to be found

Input

One line with two positive integers: $m$ and $v$.

Output

One number — $E$, with exactly 1 digit after the decimal point (for example, 37.5).

Note

$1 \le m, v \le 10^{4}$

Examples

Input #1
3 5
Output #1
37.5
Input #2
2 10
Output #2
100.0

Sign in to submit a solution

Signing up is free and takes a minute.