Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Weather Report

By newbie_mukit, mdvirus · Limits 500ms, 128 MB

Santu is a newcomer in Rangpur. He is having trouble adjusting with the strange weather of Rangpur. He goes out for various tasks. But most of the time, it starts raining, and he has to come home drenched. He wants you to write a program for him to solve this problem. Given the probability of rain on a certain day, the program will report to Santu what the weather will be like on that day.

Input

The input contains a single integer, a percentage, denoting the probability of rain on a certain day. The percentage will be between 0 to 100.

Output

If the probability of rain on that certain day is 70% or higher, print "Bad weather." (without quotes), If it is 30% or less, print "Good weather." (without quotes). Otherwise, print "Confusing weather." (with quotes).

Samples

InputOutput
29
Good weather.
InputOutput
71
Bad weather.

Discussion

Statistics


80% Solution Ratio

mashfiqur404Earliest, May '20

fire_tornadoFastest, 0.0s

Burn_FireblazeLightest, 0 B

anonyo.akandShortest, 86B

Submit

Login to submit

Related Contests

Toph uses cookies. By continuing you agree to our Cookie Policy.