Problem C. Circulation of try-square

Author:A. Karabanov   Time limit:1 sec
Input file:Standard input   Memory limit:256 Mb
Output file:Standard output  

Statement

During a woodwork lesson at school, Timofey got his hands onto the try-square with wooden handle and metallic blade. Since Timofey has already finished his assignment (producing a stool), he started to roll the try-square along the coordinate axis. Starting position and movement direction are shown on the picture.

Your program must, given the coordinate of the point on the axis, determine which part of the try-square touched it.

Input format

Input contains three integers a, b and n — lengths of the wooden and metallic internal sides of the try-square and the coordinate of point. It is guaranteed that a and b are catheti of Pythagorean triangle (that is, hypotenuse is a whole integer).

Output format

Output must contain a single word:

Constraints

3 ≤ a < b ≤ 1000

1 ≤ n ≤ 109

Sample tests

No. Standard input Standard output
1
3 4 11
wood

0.137s 0.012s 15