Dr. Norman needs your help in classifying various drawings(3 sided enclosed figures) that were found near the archeology site. The length of the 3 sides of each drawing was recorded. The analysis of these shapes could help shed some light on the level of knowledge of geometry that was prevalent among the civilization at that time.

Program

Write a program to determine if the shape is a triangle or not. if it's a triangle, what kind of triangle is it?

Input

  • The length of three sides of the shape. 

Output 

  • Whether is not a triangle at all or it is an equilateral, isosceles or scalene and is it a right-angled, obtuse or an acute triangle. Separate the type of triangle and type of angles it has by a # sign. If it's not a triangle, display "none".

Assumptions

  • Each side is > 0 and an integer value.
  • The 3 sides provided as input are in random order i.e. they are not sorted by the length of their sides.

Test cases

No
Input (Sides)
Output (Result)
1
7 4 10
scalene#obtuse-angled
2
5 5 5equilateral#acute-angled
3
5 8 5isosceles#obtuse-angled
4
10 2 5none
5
3 4 5scalene#right-angled
6
7 8 15none
7
7 8 10scalene#acute-angled

Algorithm


Instructions 

  • Accept the 3 whole numbers one for each side as inputs via the command line arguments.
  • Write the logic to compute.
  • Display your analysis result.

  By the way, Dr. Norman appreciates your help and send has his thanks in advance to help him solve the mystery of ancient civilization.