Paddocks
Output: Standard Output (stdout)
Memory limit: 64 megabytes
Time limit: 1.0 seconds
Plantain is a weed found on farms. If the percentage of plantain is low, the farm is considered healthy  suitable for crop growth the grazing by live stock. A farmer takes readings each year to determine the plantain saturation (as a percentage) of some paddocks on their farm. Your task is to process the plantain saturation data collected from the past three years and determine if a farm is healthy
or unhealthy
. If the crops are unhealthy
, you must determine if the farmer should resow
their land.
 If the average (arithmetic mean) plantain saturation reading is \ge 12\% for each of the past three years then the farm is deemed to be
unhealthy
.  If the farm is
unhealthy
AND 50% or more of paddock readings for the most recent year have plantain saturation \ge 25\%, then the farmer shouldresow
their land.  A farm is
healthy
for all other situations.
Input
The first line will contain a single integer, N, the number of readings taken in the most recent year (1 \le N \le 200). The second line will contain N spaceseparated integers, the plantain saturation (as a percentage) for each paddock sampled that year. Each saturation reading will be an integer between 0 and 100 (inclusive).
This input format is repeated for the data collected in the two prior years. N might be different for each year.
Output
You should output a single line containing either healthy
, unhealthy
, or resow
, based on the above criteria.
Subtasks
 Subtask 1 (40%): It is guaranteed that the farm will always be either
healthy
orunhealthy
.  Subtask 2 (60%): No further restrictions apply.

Sample Input 1
3 21 3 22 2 9 12 3 10 4 9
Sample Output 1
healthy

Sample Input 2
4 23 12 8 21 3 4 23 18 5 17 5 12 16 10
Sample Output 2
unhealthy

Sample Input 3
4 32 9 28 20 3 13 18 18 3 6 24 6
Sample Output 3
resow