Three integers with $a \le b \le c$ are given. Print A if they form an equilateral triangle, C if a right triangle, B if an (otherwise) isosceles triangle, D if a scalene triangle, and E if no triangle can be formed. Checks are applied in the order E, A, C, B, D.
Input
Three integers $a$, $b$, $c$ ($1 \le a \le b \le c \le 100$).
Output
Print one of A, B, C, D, E.
Example 1
Input
3 4 5
Output
C
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.