URI Online Judge | 2144


By Joao Marcos Salvanini Bellini de Moraes, IFSULDEMINAS BR Brazil

Timelimit: 1

BemBem is a famous bodybuilder. He's always seeking the perfect perfomance in his workouts in the gym to compete with his rivals. His friend Frenco assists him the best way possible, helping him seek the trapezius descendens and holding him from bringing down Ibirapuera Park's trees. Nevertheless, BemBem called you to help him in a specific task: to determine his 1RM (one-repetition maximum) average. To do this, you can use the following formula:

W = Weight to be lifted.
R = Number of repetitions.

However, one of BemBem's arm is weaker than the other, which makes him lift less weight with it, and that's why he asked for your help, claiming that "the crazy one is sick". Help him and become a codebuilder!


The input contains the integers W1 (weight lifted by his left arm: 1 ≤ W1 ≤ 60), W2 (weight lifted by his right arm: 1 ≤ W2 ≤ 100) and R (number of repetitions: 1 ≤ R ≤ 12). Read input until W1 = W2 = R = 0.


Print the catch phrase that corresponds to his 1RM average (M - floating point) according to the following table:

If the average of all test cases is greater than 40, print a blank line, then print "Aqui nois constroi fibra rapaz! Nao e agua com musculo!".

Input Sample Output Sample

1 2 1

50 84 6

30 49 8

11 12 5

16 30 10

44 55 11

0 0 0

Nao vai da nao


Ta saindo da jaula o monstro!

E 13

Bora, hora do show! BIIR!


Aqui nois constroi fibra rapaz! Nao e agua com musculo!