GFSSOC '15 Fall Practice P1 - Bruno and Trig

View as PDF

Submit solution

Points: 3 (partial)
Time limit: 2.0s
Memory limit: 64M

Authors:
Problem type

It's the start of contest season and Bruno is excited to start coding! Unfortunately, he can't start coding until he finishes his math homework. It may seem strange that the first subject in Bruno's math class is trigonometry, but what can he do? Well, for one, he can simply pass the homework on to you. Bruno's Your homework is as follows: Given the lengths of three sticks, determine whether or not you can make a triangle with the sticks (without breaking them).

Input Specification

There will be three lines of input. Each line contains one integer, the length of one of the sticks.

Output Specification

If it is possible to make a triangle using the three sticks, output the string Huh? A triangle?. Otherwise output Maybe I should go out to sea....

Sample Input

3
2
1

Sample Output

Maybe I should go out to sea...

Comments

There are no comments at the moment.