x=int(input('x = '))
if x<-8:
y=2-5*x
else:
y=4*x+1
print('y =',y)
a=int(input('a = '))
b=int(input('b = '))
c=int(input('c = '))
if (a==b or b==c or c==a) and (a!=b or b!=c or c!=a):
if a==b:
h=(a**2-c**2/4)**0.5
if b==c:
h=(b**2-a**2/4)**0.5
if c==a:
h=(c**2-b**2/4)**0.5
print('h =',h)
x=int(input('x = '))
if x<-8:
y=2-5*x
else:
y=4*x+1
print('y =',y)
a=int(input('a = '))
b=int(input('b = '))
c=int(input('c = '))
if (a==b or b==c or c==a) and (a!=b or b!=c or c!=a):
if a==b:
h=(a**2-c**2/4)**0.5
if b==c:
h=(b**2-a**2/4)**0.5
if c==a:
h=(c**2-b**2/4)**0.5
print('h =',h)