As you might know Mr Montu Mia is very passionate about any challenges he faces. One day he went to the famous Nurjahan restaurant at Bottola, Jahangirnagar University. Recognizing him the restaurant owner challenged him to climb the biggest pillar and said that if he can climb the pillar successfully he will be rewarded a free grill and nun at dinner.
The pillar is of height and radius . And Montu Mia wishes to climb the pillar at a specific angle of with the ground all the time. Now he wonders can he reach the top and how much distance he will have to walk to reach the top of the pillar.
Input starts with an integer (), denoting the number of test cases. Each case contains three integer numbers () denoting the height, () denoting the radius and () denoting the angle.
For each case, print the distance rounded to two places after the decimal point or print “Montu Mia, Super Dumb!” without quote if he fails to reach the top of the pillar at all.
Input | Output |
---|---|
2 10 5 90 10 5 45 | 10.00 14.14 |