101160: [AtCoder]ABC116 A - Right Triangle

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

Score : $100$ points

Problem Statement

There is a right triangle $ABC$ with $∠ABC=90°$.

Given the lengths of the three sides, $|AB|,|BC|$ and $|CA|$, find the area of the right triangle $ABC$.

It is guaranteed that the area of the triangle $ABC$ is an integer.

Constraints

  • $1 \leq |AB|,|BC|,|CA| \leq 100$
  • All values in input are integers.
  • The area of the triangle $ABC$ is an integer.

Input

Input is given from Standard Input in the following format:

$|AB|$ $|BC|$ $|CA|$

Output

Print the area of the triangle $ABC$.


Sample Input 1

3 4 5

Sample Output 1

6

tri

This triangle has an area of $6$.


Sample Input 2

5 12 13

Sample Output 2

30

This triangle has an area of $30$.


Sample Input 3

45 28 53

Sample Output 3

630

This triangle has an area of $630$.

Input

题意翻译

给定一个 $∠ ABC = 90 °$ 的直角三角形的三条边,输出这个三角形的面积。保证答案为整数。 Translated by ShanCreeper.

加入题单

上一题 下一题 算法标签: