#C2148. Heatwave Detection

    ID: 45432 Type: Default 1000ms 256MiB

Heatwave Detection

Heatwave Detection

You are given a sequence of daily temperatures as space-separated integers. Your task is to determine whether there exists a heatwave, which is defined as at least three consecutive days with temperatures strictly greater than 30°C. If such a sequence exists, output Heatwave, otherwise output No Heatwave.

Note: The input is provided via standard input (stdin) and the result should be printed via standard output (stdout).

Formula: If there exists an index i such that \( T_i > 30, T_{i+1} > 30, T_{i+2} > 30 \) then output "Heatwave".

inputFormat

The input consists of a single line containing several space-separated integers, each representing the temperature (in Celsius) for a consecutive day.

outputFormat

Print a single line which is either Heatwave if there are at least three consecutive days with temperatures above 30°C, or No Heatwave otherwise.

## sample
32 33 34 29 28 31 32
Heatwave

</p>