Skip to main content
Tuesday (24.11.2026) at 20:00: ALGOR Contest: Round #4 (Special Challenge) starts!

~/algor $ cat problems/uchburchak-turi

Type of triangle

Medium 1000 ms 64 MB 44%
Share

The lengths of three segments $a$, $b$ and $c$ are given. If they can form a triangle, determine its type: teng tomonli (equilateral) if all three sides are equal, teng yonli (isosceles) if exactly two sides are equal, turli tomonli (scalene) if all sides are different. A triangle exists when the sum of any two sides is strictly greater than the third; if no triangle can be formed, print mavjud emas (does not exist).

Scalene, isosceles and equilateral triangles

Input

One line with three positive integers: $a$, $b$ and $c$.

Output

One line: teng tomonli, teng yonli, turli tomonli or mavjud emas.

Note

$1 \le a, b, c \le 10^{9}$

Examples

Input #1
3 4 5
Output #1
turli tomonli
Input #2
2 2 3
Output #2
teng yonli

Sign in to submit a solution

Signing up is free and takes a minute.