Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

Problem hidden on 2015-09-25 17:41:52 by Min_25

RETO11MAR - RETO EGIPTO

no tags 

Long ago, the Egyptians discovered that a triangle with sides 3, 4 and 5 had a right angle as its largest angle. Determine if other triangles have a similar property.

SPANISH EXERCISE

Image Exersice

Input

Entry represents several test cases, followed by a line containing 0 0 0. Each test case has three positive integers less than 30000, which indicates the lengths of the sides of a triangle.

Output

Para cada caso de prueba, una línea que contiene "bien" si el triángulo es un triángulo rectángulo, y una línea que contiene "mal" si el triángulo no es un triángulo rectángulo.

Example

Input:

6 8 10

25 52 60

48 60 36

0 0 0

Output:

bien

mal

bien


Added by:MARATON AFDM
Date:2015-09-24
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:MAWK BC C NCSHARP CSHARP C++ 4.3.2 COFFEE DART FORTH JAVA JS-RHINO JULIA KTLN OCT PHP PROLOG PYPY3 R RACKET SQLITE SWIFT UNLAMBDA