#35Medium
Triangle type
Time: 1 s · Memory: 256 MB
- Conditionals
Statement
You are given the lengths of three segments: , , . Can they form a triangle? If they can, determine its type (the answer is in Uzbek, exactly one of these lines):
teng tomonli— equilateral, all three sides are equal;teng yonli— isosceles, exactly two sides are equal;turli tomonli— scalene, all sides are different;mavjud emas— no triangle exists.
A triangle exists when every side is strictly less than the sum of the other two. does not form one: , so the segments lie on one line.
Input format
A single line with three integers , , ().
Output format
One of the lines: teng tomonli, teng yonli, turli tomonli, mavjud emas.
Examples
Input
3 4 5
Output
turli tomonli
Input
1 2 3
Output
mavjud emas
Note
Check existence first, then the type. The numbers themselves fit into a 32-bit int, but reaches , which no longer fits into an int — use long long in C++ and int64 in Go.
