407786: GYM102893 F SMS from MCHS

Memory Limit:512 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

F. SMS from MCHStime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard output

You work for MCHS (Russian Ministry of Emergency Situations). You have just received a report from Hydro-meteorological Center containing an information about today's weather and the forecast for tomorrow.

According to this report, the air temperature is $$$t_1$$$ degrees today, and the wind speed is $$$v_1$$$ meters per second. Tomorrow the air temperature will be $$$t_2$$$ degrees, and the wind speed will be $$$v_2$$$ meters per second.

You are given a task to notify citizens about the weather for tomorrow via SMS.

The most important goal is to warn citizens in case the storm is possible. If, according to the forecast, the temperature tomorrow will be negative, and the wind speed will be at least 10 meters per second, you should send a message with following text:

A storm warning for tomorrow! Be careful and stay home if possible!

Otherwise, you may just notify citizens about bad weather changes.

If the temperature tomorrow will be lower than today, then you should send a message with a warning about a cold snap. It should have the following text:

MCHS warns! Low temperature is expected tomorrow.

Otherwise, if wind speed tomorrow will be higher than today, then you should send a message with a warning about strong wind. It should have the following text:

MCHS warns! Strong wind is expected tomorrow.

If none of the above conditions is satisfied, the you don't have to send a message at all.

Given the report from Hydro-meteorological Center, determine, what message has to be sent.

Input

The first line of input contains two integers $$$t_1$$$ and $$$v_1$$$ — the temperature and the wind speed for today ($$$-50 \le t_1 \le 50$$$; $$$0 \le v_1 \le 20$$$). The second line contains two integers $$$t_2$$$ and $$$v_2$$$ — the temperature and the wind speed for tomorrow ($$$-50 \le t_1 \le 50$$$; $$$0 \le v_1 \le 20$$$).

Output

In case if any message has to be sent, output its text. Otherwise, output the phrase "No message".

You can separate message words with spaces and line feeds arbitrarily.

ExamplesInput
15 2
5 3
Output
MCHS warns! Low temperature 
is expected tomorrow.
Input
15 1
17 1
Output
No message

加入题单

上一题 下一题 算法标签: