# -*- coding: utf-8 -*-

print("三角形の三辺の長さを入力してください")
a=int(input("a="))
b=int(input("b="))
c=int(input("c="))

if (a+b>c and a+c>b) and b+c>a :
    print("三角形です")
else:
    print("三角形ではありません")
    
if (a*a+b*b==c*c or a*a+c*c==b*b) or (b*b+c*c==a*a):
    print("直角三角形です")
else:
    print("直角三角形ではありません")

if (a+b>c and a+c>b) and b+c>a :
    if (a==b or a==c) or (b==c):
        print("二等辺三角形です")
    else:
        print("二等辺三角形ではありません")

