Author:  A. Karabanov  Time limit:  1 sec  
Input file:  Standard input  Memory limit:  256 Mb  
Output file:  Standard output 
During a woodwork lesson at school, Timofey got his hands onto the trysquare with wooden handle and metallic blade. Since Timofey has already finished his assignment (producing a stool), he started to roll the trysquare 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 trysquare touched it.
Input contains three integers a, b and n — lengths of the wooden and metallic internal sides of the trysquare 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 must contain a single word:
wood
, if point is touched by the wooden handle,metal
, if point is touched by the metal blade,empty
, if point is not touched by the trysquare.3 ≤ a < b ≤ 1000
1 ≤ n ≤ 10^{9}
No.  Standard input  Standard output 

1 

