URI Online Judge | 2499
# Internal Triangle

**Timelimit: 1**

By Francisco Elio Parente Arcos Filho, UEA Brazil

Given a triangle ABC with area **S**, and **N** equidistant points on the side AB and **M** equidistant points on the BC side, calculate the triangle's area determined by one of these points in AB with coordinate **C _{1}** and two others over BC with coordinates

The input is composed by several test cases. The first line of a test case contains three integers **S** (1 ≤ **S** ≤ 10^{6}), **N** (0 ≤ **N** ≤ 10^{3}) and **M** (0 ≤ **M** ≤ 10^{3}) as specified in the text and the second line of a test case contains the coordinates **C _{1}** (0 ≤

The output is composed by one line per test case containing the integer representing the area of the Triangle determined. It is always guaranteed that the area is an integer.

Input Sample | Output Sample |

4112 3 3 |
771 |