64_2_PCG_02

Max Score = 100


6430162521
# 1496254 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
y = math.degrees(math.acos(0.5*((a-b)+(a-c))/(math.sqrt((a-b)**2 + (a-c)*(b-c)))))
x = int(360 - y)
print(x)

6430163121
# 1496240 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

p = (1/2)*((a - b) + (a - c))
q = math.sqrt(((a - b)**2) + (a - c)*(b - c))

r = p/q
r = math.degrees(math.acos(r))

x = int(360 - r)

print(x)

6430164821
# 1496359 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
theta = math.degrees(math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))))
x = int((360-theta))
print(x)

6430165421
# 1496393 (0%)
import math
a=float(input())
b=float(input())
c=float(input())

d= math.acos((1/2)*((a-b)+(a-c))/math.sqrt(((a-b)**2+((a-c)*(a-b)))))
x= int(360-math.degrees(d))
print(x)



# 1496458 (100%)
import math
a=float(input())
b=float(input())
c=float(input())

d= math.acos((1/2)*((a-b)+(a-c))/math.sqrt(((a-b)**2+((a-c)*(b-c)))))
x= int(360-math.degrees(d))
print(x)

6430166021
# 1496279 (0%)
import math

a=float(input())
b=float(input())
c=float(input())

theta=math.acos(((1/2)*(2*a-b-c))/(((a-b)**2-(2*a-b-c))**(1/2)))

x=360-math.degrees(theta)

print(int(x))

# 1496430 (0%)
import math

a=float(input())
b=float(input())
c=float(input())

theta=math.acos(((1/2)*(2*a-b-c))/(((a-b)**2-((a-b)*(a-c))**(1/2)))

x=int(360-math.degrees(theta))

print(x)

# 1496473 (0%)
import math

a=float(input())
b=float(input())
c=float(input())

theta=math.acos(((1/2)*(2*a-b-c))/(((a-b)**2-((a-b)*(a-c)))**(1/2)))

x=int(360-math.degrees(theta))

print(x)
# 1496506 (0%)
import math

a=float(input())
b=float(input())
c=float(input())

theta=math.acos(((1/2)*(2*a-b-c))/(((a-b)**2-((a-c)*(b-c)))**(1/2)))

x=int(360-math.degrees(theta))

print(x)
# 1496782 (0%)
import math

a=float(input())
b=float(input())
c=float(input())

theta=math.acos((0.5*(2*a-b-c))/(((a-b)**2-((a-c)*(b-c)))**(1/2)))

x=int(360-math.degrees(theta))

print(x)
# 1496877 (0%)
import math

a=float(input())
b=float(input())
c=float(input())

theta=math.acos((0.5*(2*a-b-c))/(((a-b)**2-((a-c)*(b-c)))**(1/2)))

x=int(360-math.degrees(theta))

print(x)
# 1496911 (100%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x= int(360-math.degrees(x))
print(x)
# 1496932 (100%)
import math
a= float(input())
b= float(input())
c= float(input())
theta= math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x= int(360-math.degrees(theta))
print(x)

6430167721
# 1496104 (0%)
import math

a = float(input ())
b = float(input ())
c = float(input ())

y = (1/2((a-b)+(a-c)))/(((a-b)**2)+((a-c)*(b-c)))**(1/2)

x = int(360 - y)

# 1496183 (0%)
import math

a = float(input ())
b = float(input ())
c = float(input ())

y = math.acos((1/2((a-b)+(a-c)))/(((a-b)**2)+((a-c)*(b-c)))**(1/2))

x = int(360 - math.degrees(y))

print(x)

# 1496291 (100%)
import math

a = float(input ())
b = float(input ())
c = float(input ())

y = math.acos((1/2*((a-b)+(a-c)))/(((a-b)**2)+((a-c)*(b-c)))**(1/2))

x = int(360 - math.degrees(y))

print(x)

6430168321
# 1496456 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
m = math.degrees(math.acos((0.5*(2*a-b-c))/math.sqrt((a-b)**2+(a-c)*(b-c))))
x = int(360-m)
print(x)

6430169021
# 1496461 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
d=math.degrees(math.acos((0.5*(a-b)+0.5*(a-c))/((a-b)**2+(a-c)*(b-c))**0.5))
x=int(360-d)
print(x)

6430170521
# 1496487 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

s = (math.acos((0.5*((a-b)+(a-c)))/((a-b)**2+(a-c)*(b-c))**0.5))


print(360-math.degrees(s))


# 1496536 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

s = (math.acos((0.5*((a-b)+(a-c)))/((a-b)**2+(a-c)*(b-c))**0.5))


print(int(360-math.degrees(s)))



6430171121
# 1496731 (100%)
import math

a=float(input())
b=float(input())
c=float(input())


up =((a-b)+(a-c))/2
down =math.sqrt(((a-b)**2)+(a-c)*(b-c))
zata=math.acos(up/down)

x=int(360-math.degrees(zata))
print(x)

6430172821
# 1496601 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
zeta=math.acos((0.5*((2*a)-b-c))/((a-b)**2+((a-c)*(b-c)))**0.5)
ongsa=math.degrees(zeta)
x=int(360-ongsa)
print(x)
# 1496609 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
zeta=math.acos((0.5*((2*a)-b-c))/((a-b)**2+((a-c)*(b-c)))**0.5)
ongsa=math.degrees(zeta)
x=int(360-ongsa)
print(x)
# 1496663 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
zeta=math.acos((0.5*((2*a)-b-c))/((a-b)**2+((a-c)*(b-c)))**0.5)
ongsa=math.degrees(zeta)
x=int(360-ongsa)
print(x)

6430174021
# 1496094 (100%)
import math
a = float(input());b = float(input());c = float(input())
set = math.acos((1/2*((a-b)+(a-c))) / math.sqrt((a-b)**2 + (a-c)*(b-c)))
seta = math.degrees(set)
x = int(360-seta)
print(x)

6430176321
# 1496304 (0%)
a = float(input())
b = float(input())
c = float(input())
A = math.acos((0.5((a-b)+(a-c)))/((a-b)**2+(a-c)(b-c))**0.5)
A = math.degrees(A)
x = int(360 - A)
print(x)
# 1496332 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
A = math.acos((0.5((a-b)+(a-c)))/((a-b)**2+(a-c)(b-c))**0.5)
A = math.degrees(A)
x = int(360 - A)
print(x)
# 1496351 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
A = math.acos((0.5*((a-b)+(a-c)))/((a-b)**2+(a-c)*(b-c))**0.5)
A = math.degrees(A)
x = int(360 - A)
print(x)

6430177021
# 1496232 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
A=(1/2)*((a-b)+(a-c))
B=math.sqrt(((a-b)**2)+((a-c)*(b-c)))
t=math.degrees(math.acos(A/B))
x=int(360-t)
print(x)

# 1496269 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
A=(1/2)*((a-b)+(a-c))
B=math.sqrt(((a-b)**2)+((a-c)*(b-c)))
t=math.degrees(math.acos(A/B))
x=int(360-t)
print(x)


6430178621
# 1496301 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
s= math.acos(((1/2)*(a-b+a-c))/((((a-b)**2)+((a-c)**(b-c)))**(1/2)))
s = math.degree(s)
x = int(360-s)
# 1496350 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
s = math.acos(((1/2)*(a-b+a-c))/((((a-b)**2)+((a-c)**(b-c)))**(1/2)))
d = math.degree(s)
x = int(360-d)
print (x)
# 1496410 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
s = math.acos(((1/2)*((a-b)+(a-c)))/((((a-b)**2)+((a-c)**(b-c)))**(1/2)))
d = math.degree(s)
x = int(360-d)
print (x)
# 1496478 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
s = math.acos(((1/2)*((a-b)+(a-c)))/((((a-b)**2)+((a-c)**(b-c)))**(1/2)))
x = int(360-math.degrees(s))
print (x)
# 1496579 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
s = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x = int(360-math.degrees(s))
print (x)

6430182021
# 1496166 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
se = math.acos((0.5*(a-b+a-c))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
se2 = math.degrees(se)
x = int(360 - se2)
print(x)

# 1496610 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
se = math.acos((0.5*(a-b+a-c))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
se2 = math.degrees(se)
x = int(360 - se2)
print(x)

6430183721
# 1496089 (0%)
import math
int(input(a))
int(input(b))
int(input(c))
s1 = 0.5 * ((a-b)+(a-c))
s2 = math.sqrt((a-b)**2 + (a-c)*(b-c))
s3 = math.acos(s1/s2)
s4 = math.degrees(s3)
s5 = int(360-s4)
print(s5)
# 1496095 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
s1 = 0.5 * ((a-b)+(a-c))
s2 = math.sqrt((a-b)**2 + (a-c)*(b-c))
s3 = math.acos(s1/s2)
s4 = math.degrees(s3)
s5 = int(360-s4)
print(s5)

6430184321
# 1496577 (100%)
import math

a = float(input())
b = float(input())
c = float(input())
theta = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
seta = math.degrees(theta)
x = int(360-seta)
print(x)

6430185021
# 1496092 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
zeta = math.acos((1/2*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c*(b-c))))
x = int(360 - zeta)
print(x)
# 1496347 (0%)
import math

a = float(input())
b = float(input())
c = float(input())
up = 1/2*((a-b)+(a-c))
down = math.sqrt(((a-b)**2)+(a-c)*(b-c))
zeta = math.acos(up/down)
x = 360 - zeta
print(int(x))
# 1496819 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
A = math.acos((0.5 * ((a-b)+(a-c)))/((a-b)  2+(a-c) * (b-c))  0.5)
A = math.degrees(A)
x = int(360 - A)
print(x)
# 1496885 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
A = math.acos((0.5 * ((a-b)+(a-c)))/((a-b)**2+(a-c) * (b-c))  0.5)
A = math.degrees(A)
x = int(360 - A)
print(x)
# 1496930 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
A = math.acos((0.5 * ((a-b)+(a-c)))/((a-b)**2+(a-c) * (b-c))**0.5)
A = math.degrees(A)
x = int(360 - A)
print(x)

6430186621
# 1496241 (0%)
import math
a=float(int(input())
b=float(int(input())
c=float(int(input())
y=math.acos(((a-b)+(a-c))/2)/math.sqrt((a-b)**2+(a-c)*(b-c)))
z=360-(y*180/math.pi)
print(z)
# 1496303 (0%)
import math
a=float(int(input())
b=float(int(input())
c=float(int(input())
y=math.acos(((a-b)+(a-c))/2)/math.sqrt((a-b)**2+(a-c)*(b-c)))
z=math.degrees(y)
print(z)
# 1496365 (0%)
import math
a=float(int(input())
b=float(int(input())
c=float(int(input())
y=math.acos(((a-b)+(a-c))/2)/((a-b)**2+(a-c)*(b-c))**0.5)
z=math.degrees(y)
print(z)
# 1496465 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
y = math.degrees(math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)*(b-c)))))
z = int(360-y)
print(z)
# 1496763 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
y = math.degrees(math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)*(b-c)))))
z = int(360-y)
print(z)

6430188921
# 1496306 (100%)
import math

a=float(input())
b=float(input())
c=float(input())

l=(0.5*((a-b)+(a-c)))/(math.sqrt(((a-b)**2+(a-c)*(b-c))))
k=math.acos(l)
k=math.degrees(k)
y=360-k   
print(int(y))

6430189521
# 1496177 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

ans = ((1/2)*(2*a-b-c))/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
ans2 = math.degrees(math.acos(ans))
x = int(360 - ans2)
print(x)

6430190021
# 1496669 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
formula = math.acos((1/2*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
formula1=math.degrees(formula)
print(int(360-formula1))

6430191721
# 1496129 (100%)
a = float(input())
b = float(input())
c = float(input())

import math

rad = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+((a-c)*(b-c)))))
deg = math.degrees(rad)
x = int(360-deg)
print(x)

6430192321
# 1496193 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(((1/2)*(2*a-b-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
z = math.degrees(z)
x = int(360-z)
print(x)

6430193021
# 1496325 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
d= math.acos(((1/2)*(a-b+(a-c)))/(((a-b)**2)+((a-c)*(a-b)))**(1/2))
f=math.degrees(d)
g=int(360-f)
print(g)
# 1496396 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
d= math.acos(((1/2)*((a-b)+(a-c)))/(((a-b)**2)+((a-c)*(b-c)))**(1/2))
f=math.degrees(d)
g=int(360-f)
print(g)


# 1496700 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
d= math.acos(((1/2)*((a-b)+(a-c)))/(((a-b)**2)+((a-c)*(b-c)))**(1/2))
f=math.degrees(d)
g=int(360-f)
print(g)

6430194621
# 1496136 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
degree = math.acos((0.5*(a-b+a-c))/(((a-b)**2+(a-c)*(b-c))**0.5))
x = int(360-math.degrees(degree))
print(x)

6430196921
# 1496452 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

o = math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
o = math.degrees(o)
x = int(360-o)

print(x)

6430197521
# 1496475 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
theta = math.degrees(math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)*(b-c)))))
print(int(360 - theta))


6430199821
# 1496199 (0%)
import math
from re import X
a = float(input())
b = float(input())
c = float(input())

seta = math.acos(((1/2)*(a-b+a-c)/math.sqrt(((a-b)**2))+(a-c)*(b-c)))
 
x = int(360-seta)

print(x)
# 1496520 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
seta = math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
deg = math.degrees(seta)
x = int(360-deg)
print(x)


6430200721
# 1496226 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
k = math.acos((0.5*(a-b+a-c))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
f = math.degrees(k)
x = int(360 - f)
print(x)

# 1496343 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
f = (1/2)*((a-b)+(a-c))
g = ((a-b)**2 + ((a-c)*(b-c)))**0.5
d = math.acos(f/g)
y = math.degrees(d)
x = int(360-y)
print(x)

6430201321
# 1496638 (100%)
import math as ma

a = int(input())
b = int(input())
c = int(input())

n = ((1/2)*((a-b)+(a-c)))
m = ma.sqrt(((a-b)**2)+((a-c)*(b-c)))
o = (n/m)

x = ma.acos(o)

print(int(360 - ma.degrees(x)))
# 1496729 (100%)
import math as ma

a = int(input())
b = int(input())
c = int(input())

n = ((1/2)*((a-b)+(a-c)))
m = ma.sqrt(((a-b)**2)+((a-c)*(b-c)))

o = ma.acos(n/m)

print(int(360 - ma.degrees(o)))

6430202021
# 1496852 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
s = math.degrees(math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)*(b-c)))))
x = int(360-s)
print(x)

6430203621
# 1496460 (100%)
import math



a = int(input())
b = int(input())
c = int(input())
x = (0.5)*((a-b)+(a-c))
y = math.sqrt((a-b)**2+(a-c)*(b-c))
z = x/y
theta = (math.acos(z))
x = int(360-math.degrees(theta))
print(x)



6430204221
# 1496794 (100%)
import math
a = float(input())
b = float(input())
c = float(input())


seta = math.acos((1/2)*((a-b)+(a-c)) / ((((a-b)**2) + (a-c)*(b-c))**(1/2)) )
x = int(360 - math.degrees(seta))
print(x)

6430205921
# 1496409 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

D = math.degrees(math.acos((1/2*((a-b)+(a-c))) / math.sqrt((a-b)**2 + (a-c)*(b-c))))

print(int(360-D))

6430206521
# 1496399 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos((0.5((a-b)+(a-c)))/math.sqrt((a-b)**2 + (a-c)(b-c)))
k = math.degrees(x)
y = int(360 - k)                                                            

print(y)

# 1496541 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
k = math.degrees(x)
y = int(360 - k)                                                            

print(y)

6430207121
# 1496160 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

t = math.degrees(math.acos((0.5*(2*a - b -c)/math.sqrt((a - b)**2 + (a - c)*(b - c))))) 
print(int(360-t))

6430209421
# 1496408 (0%)
import math
a= int(input())
b=int(input())
c=int(input())

sun=math.acos(math.degrees((0.5*((a-b)+(a-c)))/(math.sqrt(((a-b)**2) + ((a-c)(a-b)) ))))
x=int(360-sun)
print(x)


                     
                     
              
# 1496575 (0%)
import math
a= int(input())
b=int(input())
c=int(input())

sun=math.acos((0.5*((a-b)+(a-c)))/(math.sqrt(((a-b)**2) + ((a-c)(a-b)) )))
a=math.degrees(sun)

x=int(360-a)
print(x)


                     
                     
              
# 1496657 (0%)
import math
a= int(input())
b=int(input())
c=int(input())

sun=math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
                     
              

x=int(360-a)
print(x)
# 1496806 (0%)
import math
a=int(input())
b=int(input())
c=int(input())

sun=math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
                     
a=math.degrees(s)           

x=int(360-a)
print(x)
# 1496834 (0%)
import math
a=int(input())
b=int(input())
c=int(input())

sun=math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
                     
a=math.degrees(sun
x=int(360-a)
print(x)
# 1496853 (100%)
import math
a=int(input())
b=int(input())
c=int(input())

sun=math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
                     
a=math.degrees(sun)
x=int(360-a)
print(x)

6430210021
# 1496209 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
s = math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
ans = math.degrees(s)
x = int(360-ans)
print(x)


6430211621
# 1496192 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
zeta = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)*(b-c))))
x = int(360-zeta)
print(x)
# 1496367 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
zeta = math.degrees(math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)*(b-c)))))
x = int(360-zeta)
print(x)
# 1496419 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
zeta = math.degrees(math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)*(b-c)))))
x = int(360-zeta)
print(x)

6430212221
# 1496122 (0%)
import math
a = input()
b = input()
c = input()
z = float(a)-float(b)
x = float(a)-float(c)
y = float(b)-float(c)
q = (z+x)/2
r = math.sqrt(z**2+x*y)
g = math.acos(q/r)
x = int(360-g)
# 1496182 (0%)
import math
a = input()
b = input()
c = input()
z = float(a)-float(b)
x = float(a)-float(c)
y = float(b)-float(c)
q = (z+x)/2
r = math.sqrt(z**2+x*y)
g = math.acos(q/r)
x = int(360-g)
print(x)
# 1496356 (0%)
import math
a = math.degrees(input())
b = math.degrees(input())
c = math.degrees(input())
z = float(a)-float(b)
x = float(a)-float(c)
y = float(b)-float(c)
q = (z+x)/2
r = math.sqrt(z**2+x*y)
g = math.acos(q/r)
x = int(360-g)
print(x)
# 1496394 (0%)
import math
a = math.degrees(float(input()))
b = math.degrees(float(input()))
c = math.degrees(float(input()))
z = float(a)-float(b)
x = float(a)-float(c)
y = float(b)-float(c)
q = (z+x)/2
r = math.sqrt(z**2+x*y)
g = math.acos(q/r)
x = int(360-g)
print(x)
# 1496500 (0%)
import math
a = math.degrees(float(input()))
b = math.degrees(float(input()))
c = math.degrees(float(input()))
z = float(a)-float(b)
x = float(a)-float(c)
y = float(b)-float(c)
q = (z+x)/2
r = math.sqrt(z**2+x*y)
g = math.acos(q/r)
x = int(360-g)
print(x)
# 1496723 (100%)
import math
a =float(input())
b = float(input())
c = float(input())
z = float(a)-float(b)
x = float(a)-float(c)
y = float(b)-float(c)
q = (z+x)/2
r = math.sqrt(z**2+x*y)
g = math.acos(q/r)
x = int(360-math.degrees(g))
print(x)

6430213921
# 1496212 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
degree=math.acos((1/2((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)(b-c))))
x=int(360-math.degree(degree))
# 1496257 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
z=math.acos((1/2((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)(b-c))))
x=int(360-math.degree(z))
# 1496391 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
z=math.acos((1/2((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x=int(360-math.degree(z))
print x
# 1496422 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
z=math.acos((1/2*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x=int(360-math.degree(z))
print x
# 1496445 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
z=math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x=int(360-math.degree(z))
print x
# 1496503 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
z=math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x=int(360-math.degree(z))
print(x)
# 1496576 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))
# 1496599 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))

6430214521
# 1496448 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
ceta= math.acos((0.5*(2*a-b-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x= int(360-math.degrees(ceta))
print(x)

6430215121
# 1496086 (100%)
from math import *

a,b,c = [int(input()) for _ in range(3)]
theta = degrees(acos((0.5*(a-b+a-c))/sqrt((a-b)**2+(a-c)*(b-c))))
print(int(360 - theta))


6430216821
# 1496126 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
Theta = math.acos((1/2*(a-b+a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
Degree = math.degrees(Theta)
x = int(360-Degree)
print(x)

6430217421
# 1496593 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
d=math.acos((((1/2)*(a-b))+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
x=int(360-d)
print(x)
# 1496705 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
d=math.acos((((1/2)*(a-b))+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
d=math.degrees(d)
x=int(360-d)
print(x)
# 1496793 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
d=math.acos((((1/2))*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
d=math.degrees(d)
x=int(360-d)
print(x)
# 1496824 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
d=math.acos(((1/2))*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
d=math.degrees(d)
x=int(360-d)
print(x)

6430218021
# 1496170 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

K = ((1/2*(a-b))+(a-c))/(((a-b)**2+((a-c)*(b-c)))**0.5)
k = math.acos(K)
A = math.degrees(k)
x = int(360-A)
print(x)
# 1496655 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

up = 0.5(2a-b-c)
d = (a-b)*2 + (a-c)(b-c)
down = pow(d,0.5)
zeta = math.degrees(math.acos(up/down))
x = int(360-zeta)
print(x)
# 1496676 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
y = math.degrees(math.acos((0.5(a-b+a-c))/((a-b)**2+(a-c)(b-c))**0.5))
x = int(360-y)
print(x)
# 1496721 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
y = math.degrees(math.acos((0.5(a-b+a-c))/((a-b)**2+(a-c)(b-c))**0.5))
x = int(360-y)
print(x)
# 1496799 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
y = math.degrees(math.acos((0.5*(a-b+a-c))/((a-b)**2+(a-c)*(b-c))**0.5))
x = int(360-y)
print(x)

6430220221
# 1496278 (100%)
import math

a = float(input())
b = float(input())
c = float(input())


k = math.acos((((a-b)+(a-c))/2)/(math.sqrt(((a-b)**2)+(a-c)*(b-c))))
q = math.degrees(k)
x = int(360-q)


print(x)



6430221921
# 1496256 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
Angle = math.acos((1/2*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
Answer = int(360-math.degrees(Angle))
print(Answer)

6430222521
# 1496341 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
o = math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
o = math.degrees(o)
x = int(360-o)
print(x)

6430223121
# 1496523 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
y=math.degrees(math.acos((0.5*((a-b)+(a-c)))/((a-b)**2+(a-c)*(b-c))**0.5))
x=int(360-y)
print(x)

6430224821
# 1496412 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

y = math.acos((0.5*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+((a-c)*(b-c))))
z = math.degrees(y)
x = int(360 - z)
print(z)
# 1496558 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

y = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
z = math.degrees(y)
x = int(360 - z)
print(x)

6430225421
# 1496228 (0%)
import math
x = int(360-y)
y = (math.acos((1/2)*((a-b)+(a-c))))/(math.sqrt(((a-b)**2))+(a-c)*(b-c))

# 1496446 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
x = int(360-y)
y = (math.acos((1/2)*((a-b)+(a-c))))/(math.sqrt(((a-b)**2))+(a-c)*(b-c))
y = math.degrees(y)
print(x)
# 1496469 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
x = int(360-d)
d = (math.acos((1/2)*((a-b)+(a-c))))/(math.sqrt(((a-b)**2))+(a-c)*(b-c))
d = math.degrees(y)
print(x)
# 1496504 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
x = int(360-d)
d = (math.acos((1/2)*((a-b)+(a-c))))/(math.sqrt(((a-b)**2))+(a-c)*(b-c))
d = math.degrees(d)
print(x)
# 1496594 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
x = int(360-y)
d = (math.acos((1/2)*((a-b)+(a-c))))/(math.sqrt(((a-b)**2))+(a-c)*(b-c))
y = math.degrees(d)
print(x)
# 1496656 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
x = int(360-y)
d = (math.acos((1/2)*((a-b)+(a-c))))/(math.sqrt((((a-b)**2))+(a-c)*(b-c))
y = math.degrees(d)
print(x)
# 1496739 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
x = int(360-y)
d = (math.acos((1/2)*((a-b)+(a-c))))/(math.sqrt((((a-b)**2))+(a-c)*(b-c)))
y = math.degrees(d)
print(x)
# 1496790 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
d = (math.acos((1/2)*((a-b)+(a-c))))/(math.sqrt((((a-b)**2))+(a-c)*(b-c)))
y = math.degrees(d)
x = int(360-y)
print(x)
# 1496904 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
seth = 0.5*((a-b)+(a-c))
suan = math.sqrt((a-b)**2 + (a-c)*(b-c))
theta = math.degrees(math.acos(seth/suan))
print(int(360-theta))

6430228321
# 1496108 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
zeta = math.acos((((a-b)+(a-c))/2)/(math.sqrt((a-b)^2+(a-c)*(b-c))))
x = int(360 - math.degrees(zeta))
print(x)
# 1496197 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
zeta = math.acos((((a-b)+(a-c))/2)/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x = int(360 - math.degrees(zeta))
print(x)

6430229021
# 1496321 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
T = math.acos(0.5*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c))
print(int(360-math.degrees(T)))
# 1496727 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
t = math.degrees(math.acos((0.5*(2*a - b -c)/math.sqrt((a - b)**2 + (a - c)*(b - c))))) 
print(int(360-t))

6430230521
# 1496259 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
ceta= math.acos((0.5*(-b-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x= int(360-math.degrees(ceta))
print(x)
# 1496363 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
ceta= math.acos((0.5*(2*a-b-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x= int(360-math.degrees(ceta))
print(x)


6430231121
# 1496161 (0%)
math import
a=float(input())
b=float(input())
c=float(input())
x=int(360-math.degrees(y))
y=math.acos((a-b)+(a-c)/2*((a-b)**2+(a-c)*(b-c))**0.5)
print(x)
# 1496179 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
x=int(360-math.degrees(y))
y=math.acos((a-b)+(a-c)/2*((a-b)**2+(a-c)*(b-c))**0.5)
print(x)
# 1496683 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
y=math.degrees(math.acos((a-b)+(a-c)/(2*((a-b)**2+(a-c)*(b-c))**0.5)))
x=int(360-y)
print(x)
# 1496848 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
ceta= math.acos((0.5*(2*a-b-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x= int(360-math.degrees(ceta))
print(x)
# 1496893 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
y= math.acos((0.5*(2*a-b-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x= int(360-math.degrees(y))
print(x)
# 1496944 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
y= math.acos(((a-b)+(a-c))/2*math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x= int(360-math.degrees(y))
print(x)
# 1496981 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
y= math.acos(((2*a-b-c)*0.5)/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x= int(360-math.degrees(y))
print(x)

6430232821
# 1496696 (100%)
import math
a = int(input())
b= int(input())
c = int(input())
x = math.degrees(math.acos((0.5*(a-b+a-c))/math.sqrt((a-b)**2+(a-c)*(b-c))))
tethe = (int(360-x))
print(tethe)

6430233421
# 1496368 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
x=int(360-t)
m=0.5*((a-b)+(a-c))
s=((a-b)**2+(a-c)*(b-c))**0.5
y=math.acos(m/s)
t=int(math.degrees(y))
print(x)
# 1496722 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
x=int(360-t)
m=0.5*((a-b)+(a-c))
s=((a-b)**2+(a-c)*(b-c))**0.5
y=math.acos(m/s)
t=math.degrees(y)
print(x)
# 1496871 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
m=0.5*((a-b)+(a-c))
s=((a-b)**2+(a-c)*(b-c))**0.5
y=math.acos(m/s)
t=math.degrees(y)
x=int(360-t)
print(x)

6430234021
# 1496137 (0%)
#27/1/2022 test
import math
a = float(input())
b = float(input())
c = float(input())
x = math.acos(1/2*(2*a-b-c)/(a**2+b**2+c**2-a*b-a*c-b*c)**1/2)
y = math.degrees(x)
print(int(360-y))
# 1496390 (0%)
#27/1/2022 test
import math
a = float(input())
b = float(input())
c = float(input())
x = math.acos(1/2*(a-b+a-c)/(((a-b)**2)+(a-c)*(b-c))**1/2)
y = math.degrees(x)
print(int(360-y))
# 1496435 (100%)
#27/1/2022 test
import math
a = float(input())
b = float(input())
c = float(input())
x = math.acos(0.5*(a-b+a-c)/(((a-b)**2)+(a-c)*(b-c))**0.5)
y = math.degrees(x)
print(int(360-y))

6430235721
# 1496330 (100%)
import math

a = float(input())
b = float(input())
c = float(input())
up = (2*a - b - c)/2
down = math.sqrt(((a - b)**2) + (a - c)*(b - c))

theta = math.degrees(math.acos(up/down))
x = int(360 - theta)
print(x)

6430237021
# 1496245 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
x = 360 - math.degrees(z)
print(int(x))

6430238621
# 1496300 (0%)
import math

a=int(input())
b=int(input())
c=int(input())

rad = math.acos((((a-b)+(a-c))*(1/2))/(math.sqrt(((a-b)**2)+((a-c)*(b-c)))))
degree=math.degree(rad)

x=int(360-degree)

print(x)
# 1496335 (100%)
import math

a=int(input())
b=int(input())
c=int(input())

rad = math.acos((((a-b)+(a-c))*(1/2))/(math.sqrt(((a-b)**2)+((a-c)*(b-c)))))
degree=math.degrees(rad)

x=int(360-degree)

print(x)

6430239221
# 1496085 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

inp = ((1 / 2) * ((a - b) + (a - c))) / (math.sqrt((a - b) ** 2 + (a - c) * (b - c)))

seta = math.acos(inp)

x = int(360 - seta)
math.degrees(x)
print(x)
# 1496087 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

inp = ((1 / 2) * ((a - b) + (a - c))) / (math.sqrt((a - b) ** 2 + (a - c) * (b - c)))

seta = math.acos(inp)

x = int(360 - math.degrees(seta))

print(x)
# 1496120 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

inwpuun = ((1 / 2) * ((a - b) + (a - c))) / (math.sqrt((a - b) ** 2 + (a - c) * (b - c)))

seta = math.acos(inwpuun)

x = int(360 - math.degrees(seta))

print(x)

6430240821
# 1496389 (100%)
# -*- coding: utf-8 -*-
"""64_2_PCG_02

Automatically generated by Colaboratory.

Original file is located at
    https://colab.research.google.com/drive/1869dHm_rkbjBiDPaN6wSsJcwxwG162W-
"""

import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((1/2 * ((a - b) + (a - c)))/math.sqrt((a - b)**2 + (a - c) * (b-c)))
y = math.degrees(theta)
x = int(360 - y)
print(x)

6430241421
# 1496447 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
f = (1/2)*((a-b)+(a-c))
g = math.sqrt((a-b)**2 + ((a-c)*(b-c)))
e = math.acos(f/g)
e = math.degrees(e)
print (int(360-e))

6430242021
# 1496307 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

Z = math.acos(((1/2)*((a-b)+(a-c))) / math.sqrt(((a-b)**2)+((a-c)*(b-c))))
x = int(360-math.degrees(Z))
print(Z)
# 1496360 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

Z = math.acos(((1/2)*((a-b)+(a-c))) / math.sqrt((((a-b)**2)+((a-c)*(b-c)))))
x = int(360-math.degrees(Z))
print(Z)
# 1496481 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
Z = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((((a-b)**2)+((a-c)*(b-c)))))
x = int(360-math.degrees(Z))
print(x)
# 1496507 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

Z = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((((a-b)**2)+((a-c)*(b-c)))))
x = int(360-math.degrees(Z))
print(x)

6430243721
# 1496223 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
d = math.degrees(math.acos(((1/2) * ((a-b)+(a-c)))/(math.sqrt(((a-b)**2) + ((a-c)*(b-c))))))
x = int(360-d)
print(x)

6430244321
# 1496262 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))

6430245021
# 1496459 (0%)
a=int(input())
b=int(input())
c=int(input())
import math
ceta=math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)(b-c)))
ceta=math.degrees(ceta)
x=int(360-ceta)
print(x)
# 1496493 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
rad = math.acos((0.5((a-b)+(a-c)))/((((a-b)**2)+(a-c)(b-c))**0.5))
x = int(360-math.degrees(rad))
print(x)
# 1496502 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
rad =math.acos((((a-b)+(a-c))/2)/math.sqrt((a-b)*2+(a-c)(b-c)))
x=int(360-math.degrees(rad))
print(x)
# 1496574 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
zeta = math.degrees(math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)*(b-c)))))
x = int(360-zeta)
print(x)


6430246621
# 1496417 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
rad =math.acos((((a-b)+(a-c))/2)/math.sqrt((a-b)**2+(a-c)*(b-c)))
x=int(360-math.degrees(rad))
print(x)

6430249521
# 1496309 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

degree = math.acos(((1/2)*(a-b)+(1/2)*(a-c))/((((a-b)**2)+((a-c)*(b-c)))**(0.5)))

x = int(360-(math.degrees(degree)))

print(x)

6430250021
# 1496370 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
print(int(360-math.degrees(math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c))))))

6430251721
# 1496651 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
x = ((1/2)*((a-b)+(a-c))/math.sqrt(((a-b)**2)+((a-c)*(b-c))))

def arccos(x):
    z = math.acos(x)
    y = math.degrees(z)
    return y
print(int(360-arccos(x)))

6430252321
# 1496401 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

Degree = math.acos(((1/2)*((a-b)+(a-c))) / math.sqrt(((a-b)**2)+((a-c)*(b-c))))
x = int((360-(math.degrees(Degree))))
print(x)

6430253021
# 1496345 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos(0.5*(a-b+a-c)/((a-b)**2+(a-c)*(b-c))**0.5)
thedeg = math.degrees(theta)
x = int(360 - thedeg)
print(x)
# 1496407 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos(0.5*(a-b+a-c)/((a-b)**2+(a-c)*(b-c))**0.5)
x = int(360 - math.degrees(theta))
print(x)

6430254621
# 1496171 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
d = (0.5*((a-b)+(a-c)))/math.sqrt(((a-b)**2+(a-c)*(b-c)))
radians = math.acos(d)
degrees = math.degrees(radians)
x = int(360-degrees)
print(x)

6430255221
# 1496098 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
Degree = math.degrees(math.acos( ((a-b+a-c)/2) / math.sqrt((a-b)**2+(a-c)*(b-c)) ))
x = int(360-Degree)
print(x)

6430256921
# 1496224 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

result = math.acos((0.5*(a-b)+(a-c))/(((a-b)**0.5)+((a-c)*(b-c)))**0.5)

x = int(360-math.degrees(result))

# 1496398 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

radian = math.acos((0.5((a-b)+(a-c)))/((((a-b)**2)+(a-c)(b-c))**0.5))
x = int(360-math.degrees(radian))

print(x)
# 1496434 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

radian = math.acos((0.5((a-b)+(a-c)))/((((a-b)**2)+(a-c)(b-c))**0.5))
x = int(360-math.degrees(radian))

print(x)
# 1496470 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
rad = math.acos((0.5((a-b)+(a-c)))/((((a-b)**2)+(a-c)(b-c))**0.5))
x = int(360-math.degrees(rad))
print(x)
# 1496514 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
rad =math.acos((((a-b)+(a-c))/2)/math.sqrt((a-b)*2+(a-c)(b-c)))
x=int(360-math.degrees(rad))
print(x)
# 1496589 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
y = math.degrees(math.acos(((1/2)((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)(b-c)))))
x = int(360-y)
print(x)
# 1496643 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
rad = math.acos((0.5*((a-b)+(a-c)))/((((a-b)**2)+(a-c)*(b-c))**0.5))
x = int(360-math.degrees(rad))
print(x)

6430257521
# 1496637 (100%)
import math
a = float(input())

b = float(input())

c = float(input())

x = (1/2)*((a-b)+(a-c)) / math.sqrt((a-b)**2 + (a-c)*(b-c))

s = math.acos(x)
y = math.degrees(s)
print( int(360-y) )

6430258121
# 1496169 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
d = math.acos((0.5*((a-b)+(a-c)))/((((a-b)**2)+((a-c)*(b-c)))**0.5))
x = 360-math.degrees(d)
print(int(x))
# 1496204 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
d = math.acos((0.5*((a-b)+(a-c)))/((((a-b)**2)+((a-c)*(b-c)))**0.5))
x = int(360-math.degrees(d))
print(x)
# 1496219 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
d = math.acos((0.5*((a-b)+(a-c)))/((((a-b)**2)+((a-c)*(b-c)))**0.5))
x = int(360-math.degrees(d))
print(x)

6430259821
# 1496314 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
k = math.acos((0.5*(a-b+a-c))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
k2 = math.degrees(k)
x = int(360 - k2)
print(x)
# 1496509 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
k=math.acos((1/2((a-b)+(a-c)))/((a-b)**2+(a-c)(b-c))**0.5)
y=math.degrees(k)
x=int(360-y)
print(x)

# 1496581 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
k = math.acos((0.5*(a-b+a-c))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
k2 = math.degrees(k)
x = int(360 - k2)
print(x)

6430260321
# 1496712 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((0.5*((a-b)+(a-c))/math.sqrt((a-b)**(2)+(a-c)*(b-c))))
theta = math.degrees(theta)
x = int(360-theta)
print(x)

6430261021
# 1496720 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

m = a - b
n = a - c
o = b - c
theta = math.acos(((1/2)*(m + n)) / math.sqrt((m**2)+(n*o)))
theta2 = math.degrees(theta)
x = int(360-theta2)
    
print(x)

6430262621
# 1496319 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
i = 0.5*((a-b)+(a-c))
j = math.sqrt((a-b)**2+(a-c)*(b-c))
ans = math.acos(i/j)
x = int(360-(math.degree(ans)))
print(x)
# 1496491 (100%)
import math
a = input()
b = input()
c = input()
a = float(a)
b = float(b)
c = float(c)
i = 0.5*((a-b)+(a-c))
j = math.sqrt((a-b)**2+(a-c)*(b-c))
ans = math.acos(i/j)
x = int(360-(math.degrees(ans)))
print(x)

6430263221
# 1496286 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
rad = math.acos((0.5*((a-b)+(a-c)))/((((a-b)**2)+(a-c)*(b-c))**0.5))
x = int(360-math.degrees(rad))
print(x)

6430264921
# 1496237 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(1/2*((a-b)+(a-c))/ ((a-b)**2 + (a-c)*(b-c))**(1/2))
print(int(360-math.degrees(x)))

6430267821
# 1496252 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
x=0.5*((a-b)+(a-c))
y=math.sqrt((a-b)**2+(a-c)*(b-c))
r=math.acos(x/y)
d=math.degrees(r)
print(int(360-d))

6430268421
# 1496518 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
D = math.acos((((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c))))
x = int(360-(math.degrees(D)))
print(x)

6430269021
# 1496144 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
g = math.acos( 1/2*((a-b) + (a-c)) / math.sqrt((a-b)**2 + (a-c)*(b-c)))
x = int(360- math.degrees(g))
print(x)

6430270621
# 1496327 (100%)
import math

a= float(input())
b= float(input())
c= float(input())

theta= math.acos((1/2*((a-b)+(a-c)))/math.sqrt(((a-b)**2+(a-c)*(b-c))))

x= int(360-math.degrees(theta))

print(x)


6430271221
# 1496105 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
d=math.acos(1/2((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
e=d/math.pi*180
x=int(360-e)
# 1496243 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))

6430272921
# 1496476 (100%)
a = float(input())
b = float(input())
c = float(input())
import math
d = math.acos((a-((b+c)/2))/((((a-b)**2)+((a-c)*(b-c)))**0.5))
e = math.degrees(d)
x = int(360-e)
print(x)

6430273521
# 1496474 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
seta = (math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)*(b-c)))))
x = int(360-math.degrees(seta))
print(x)

6430274121
# 1496525 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
d = ((1/2)*((a-b)+(a-c)))
e = (((a-b)**(2))+((a-c)*(b-c)))**(1/2)
x = int(360-math.degrees(math.acos(d/e)))
print(x)

6430275821
# 1496143 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

ceta = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
y = math.degrees(ceta)
x = int(360-y)
print(x)

6430276421
# 1496235 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
y = math.acos(((0.5)*((a-b)+(a-c))) / math.sqrt( ((a-b)**2) + ((a-c)*(b-c)) ) )
z = math.degrees(y)
x = int(360 - z)
print(x)

6430277021
# 1496225 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

theta = math.acos((0.5*(a-b+a-c)) / ((a-b)**2+((a-c)*(b-c)))**0.5 )

print(int(360-math.degrees(theta)))

6430278721
# 1496406 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
d = math.acos( ((1/2)*((a-b)+(a-c)))/(((((a-b)**2)+((a-c)*(b-c))))**(1/2)))
d = math.degrees(d)
x = int(360-d)
print(x)

6430279321
# 1496477 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

ceta = math.acos((0.5*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)(b-c)))
ceta = math.degrees(ceta)
x = int(360 - ceta)
print(x)
# 1496564 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

ceta = math.degree(math.acos((0.5*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)(b-c))))
x = int(360 - ceta)
print(x)
# 1496592 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

ceta = math.degree(math.acos((0.5((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)(b-c))))
x = int(360 - ceta)
print(x)
# 1496701 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
rad = math.acos((0.5*((a-b)+(a-c)))/((((a-b)**2)+(a-c)*(b-c))**0.5))
x = int(360-math.degrees(rad))
print(x)

6430280921
# 1496426 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
n=math.acos((1/2*(a-b+a-c))/math.sqrt((a-b)**2+((a-b)*(a-c))))
b=math.degrees(n)
x=int(360-b)
print(x)

# 1496454 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
n=math.acos((1/2*(a-b+a-c))/math.sqrt((a-b)**2+((a-b)*(a-c))))
b=math.degrees(n)
x=int(360-b)
print(x)
# 1496553 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
n=math.acos((1/2*(a-b+a-c))/math.sqrt((a-b)**2+((b-c)*(a-c))))
b=math.degrees(n)
x=int(360-b)
print(x)


6430281521
# 1496175 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
ze=math.acos(((1/2)*((a-b)+(a-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c))))
x=int(360-math.degrees(ze))
print(x)
# 1496305 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
ze=math.acos((((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c))))
x=int(360-math.degrees(ze))
print(x)

6430282121
# 1496153 (100%)
from math import acos, sqrt,degrees
a = float(input())
b = float(input())
c = float(input())

zeta = acos((0.5*(a-b+a-c)) / sqrt( (a-b)**2+(a-c)*(b-c) ))

print(int(360-degrees(zeta)))


6430283821
# 1496184 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
angle = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((((a-b)**2)+((a-c)*(b-c)))))
x = int(360-math.degrees(angle))
print(x)


6430284421
# 1496178 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
q = math.degrees(math.acos(((a-b)+(a-c))/(2*math.sqrt(((a-b)**2)+((a-c)*(b-c))))))
x = int(360-q)
# 1496344 (100%)
a = float(input())
b = float(input())
c = float(input())
import math
q = math.degrees(math.acos(((a-b)+(a-c))/(2*math.sqrt(((a-b)**2)+((a-c)*(b-c))))))
x = int(360-q)
print(x)

6430285021
# 1496849 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

t = math.acos((0.5*(a-b)+0.5*(a-c))/(math.sqrt((a-b)**2 + (a-c)*(b-c))))
d = math.degrees(t)
x = int(360-d)
print(x)

6430286721
# 1496687 (0%)
a = float(input())
b = float(input())
c = float(input())
import math

x = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+((a-b)*(a-c)))))
n = int(360-math.degrees(x))

print(n)

# 1496713 (0%)
a = float(input())
b = float(input())
c = float(input())
import math

x = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+((a-b)*(a-c)))))
n = int(360-math.degrees(x))

print(n)
# 1496769 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))

6430288021
# 1496816 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

s = math.acos((((a-b)+(a-c))/2)/math.sqrt((a-b)**2+((a-c)*(b-c))))

x = int(360-s)
print(math.degrees(x))
# 1496967 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

s = math.acos((((a-b)+(a-c))/2)/math.sqrt((a-b)**2+((a-c)*(b-c))))
y = math.degrees(s)
x = int(360-y)
print(x)

6430289621
# 1496322 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
ceta= math.acos((0.5*(2*a-b-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x= int(360-math.degrees(ceta))
print(x)
# 1496424 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
ceta= math.acos((0.5*(2*a-b-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x= int(360-math.degrees(ceta))
print(x)

6430290121
# 1496293 (100%)
import math
a=float(input())
b=float(input())
c=float(input())

y = math.acos((0.5)*((a-b)+(a-c)) / ((a-b)**2+((a-c)*(b-c)))**0.5  )
z = math.degrees(y)
x=int(360-z)
print(x)

6430293021
# 1496234 (0%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x= int(360-math.degree(x))
print(x)
# 1496324 (0%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos((0.5*((a-b)+(a-c))))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x= int(360-math.degree(x))
print(x)
# 1496404 (0%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos((0.5*((a-b)+(a-c))))/(math.sqrt((a-b)**2+(a-c)(b-c)))
x= int(360-math.degree(x))
print(x)
# 1496433 (0%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos((0.5*((a-b)+(a-c))))/(math.sqrt((a-b)**2+(a-c)*(b-c)))
x= int(360-math.degree(x))
print(x)
# 1496561 (0%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x= int(360-math.degree(x))
print(x)
# 1496605 (0%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos((0.5*((a-b)+(a-c))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x= int(360-math.degree(x))
print(x)
# 1496665 (0%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)(b-c))))
x= int(360-math.degree(x))
print(x)
# 1496708 (0%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x= int(360-math.degree(x))
print(x)
# 1496738 (0%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x= int(360-math.degree(x))
print(x)
# 1496796 (100%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x= int(360-math.degrees(x))
print(x)

6430295321
# 1496299 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
j = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x = int(360-math.degrees(j))
print(x)

6430296021
# 1496382 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

wongleb = ((1/2*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+((a-c)*(b-c))))
theta = math.acos(wongleb)
x = int(360 - math.degrees(theta))
print(x)

6430302021
# 1496176 (0%)
import math

a=int(input())
b=int(input())
c=int(input())
T=((1/2)*((a-b)+(a-c)))/((((a-b)**2)+(a-c)*(b-c))**(1/2))
x=math.acos(T)
ans=math.degrees(x)
ans2=360-int(ans)
print(ans2)
# 1496338 (100%)
import math

a=int(input())
b=int(input())
c=int(input())
T=((1/2)*((a-b)+(a-c)))/((((a-b)**2)+(a-c)*(b-c))**(1/2))
x=math.acos(T)
ans=math.degrees(x)
ans2=int(360-ans)
print(ans2)

6430303721
# 1496453 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
top = 0.5*((a-b)+(a-c))
bot = math.sqrt(((a-b)**2)+((a-c)*(b-c)))
rad = math.acos(top/bot)
deg = math.degrees(rad)
x = int(360-deg)
print (x)

6430304321
# 1496320 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
t= 1 / (math.cos(1/2*((a-b)+(a-c)) / math.sqrt((a-b)**2 + (a-c)*(b-c))))
x=math.degrees(360-t)
print(int(x))
# 1496730 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
t= math.acos( (1/2) * ((a-b)+(a-c)) / math.sqrt((a-b)**2 + (a-c)*(b-c)))
x=360-math.degrees(t)
print(int(x))

6430307221
# 1496231 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

y = math.acos((1/2)*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
z = math.degrees(y)

x = int(360-z)
print(x)

6430308921
# 1496258 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
d = math.sqrt(((a-b)**2) + ((a-c)*(b-c)))
y = math.acos((1/2 * ((a-b)+(a-c)))/d)
y = math.degrees(y)
x = int(360-y)
print(x)

6430309521
# 1496652 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))


6430312321
# 1496250 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))

6430313021
# 1496229 (0%)
import math
a, b, c = int(input()), int(input()), int(input())
Want = math.acos((1/2*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
print(360 - int(math.degrees(Want)))
# 1496276 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

t = math.degrees(math.acos((0.5*(2*a - b -c)/math.sqrt((a - b)**2 + (a - c)*(b - c))))) 
print(int(360-t))

6430314621
# 1496530 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

t = math.degrees(math.acos((0.5*(2*a - b -c)/math.sqrt((a - b)**2 + (a - c)*(b - c))))) 
print(int(360-t))

6430315221
# 1496084 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
t=(1/2)*((a-b)+(a-c))
l=math.sqrt((a-b)**2+(a-c)*(b-c))
m=math.acos(t/l)
m=math.degrees(m)
x=int(360-m)
print(x)


6430316921
# 1496455 (0%)
a = int(input())
b = int(input())
c = int(input())
y = math.degrees(math.acos((0.5*(a-b+a-c))/((a-b)**2+(a-c)*(b-c))**0.5))
x = int(360-y)
print(x)
# 1496505 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
d= math.acos(((1/2)((a-b)+(a-c)))/(((a-b)**2)+((a-c)(b-c)))**(1/2))
f=math.degrees(d)
g=int(360-f)
print(g)

# 1496617 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
y = math.degrees(math.acos((0.5*(a-b+a-c))/((a-b)**2+(a-c)*(b-c))**0.5))
x = int(360-y)
print(x)


6430318121
# 1496735 (100%)
import math

a=float(input())
b=float(input())
c=float(input())
s=math.degrees((math.acos( ((a-b)+(a-c))/2/math.sqrt((a-b)**2+((a-c)*(b-c))))))
x=int(360-s)
print(x)

6430319821
# 1496689 (100%)
import math 
a=int(input())
b=int(input())
c=int(input())
zeta = math.acos((0.5*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+((a-c)*(b-c))))
x=int(360-math.degrees(zeta))
print(x)


6430321021
# 1496158 (100%)
import math

a=float(input())
b=float(input())
c=float(input())

zeta = math.acos((0.5*(2*a-b-c))/((a-b)**2+(a-c)*(b-c))**(0.5))
degree = math.degrees(zeta)
x = int(360-degree)
print(x)

6430322621
# 1496261 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
f=math.acos((1/2)*((a-b)+(a-c))/((a-b)**(2)+((a-c)*(b-c)))**(1/2))
f=math.degrees(f)
x=int(360-f)
print(x)

6430323221
# 1496151 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
x=math.acos((1/2*((a-b)+(a-c)))/((((a-b)**2)+(a-c)(b-c))**(1/2))
y=math.degrees(x)
z=int(360-y)
print(z)
# 1496376 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
x=math.acos((1/2)*((a-b)+(a-c))/((a-b)**2+((a-c)*(b-c)))**(1/2))
x=math.degrees(x)
y=int(360-x)
print(y)

6430324921
# 1496090 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

numu = 1/2 * ((a-b) + (a-c))
deno = math.sqrt((a-b)**2 + (a-c)*(b-c))
result = math.degrees(math.acos(numu/deno))

x = int(360 - result)

print(x)

6430325521
# 1496778 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

d = 1/2*((a-b)+(a-c))
e = math.sqrt((a-b)**2 + (a-c)*(b-c))
f = math.degrees(math.acos(d/e))

x = int(360-f)

print(x)

6430326121
# 1496206 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+((a-c)*(b-c)))))
y = math.degrees(theta)
x = int(360-y)
print(x)
    



6430328421
# 1496386 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
d = 1/2*((a-b)+(a-c))
e = ((a-b)**2+((a-c)*(b-c)))**0.5
f = math.acos(d/e)
g = math.degrees(f)
h = int(360-g)
print(h)


6430329021
# 1496677 (100%)
import math
a = float(input())
b = float(input())
c = float(input()) 
s = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2+(a-c)*(b-c))**0.5))
z = math.degrees(s)
x = int(360-z)
print(x)

6430330621
# 1496339 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
arccos= ( (0.5) * ((a-b)+(a-c)) )/(math.sqrt(( (a-b)**2) + ((a-c)*(b-c)) ))
theta=math.degrees(math.acos(arccos))

x=(int(360-theta))
print(x)

6430331221
# 1496540 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
z = math.degrees(math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)*(b-c)))))
x = int(360-z)
print(x)

6430332921
# 1496112 (100%)
import math

a = float(input())
b = float(input())
c =float(input())

rad = math.acos((0.5*( a - b + a - c)/((a-b)**2 + (a-c)*(b-c))**0.5))
deg = math.degrees(rad)

x = int(360 - deg)
print(x)

6430333521
# 1496340 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

theta = math.acos((0.5((a-b)+(a-c)))/(math.sqrt(((a-b)**2)*(a-b)*(b-c)))))
alpha = math.degrees(theta)
gramma = int(360-alpha)
print(gramma)
# 1496427 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

theta = math.acos((0.5((a-b)+(a-c)))/(math.sqrt(((a-b)**2)*(a-b)*(b-c))))
alpha = math.degrees(theta)
gramma = int(360-alpha)
print(gramma)
# 1496483 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

theta = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)*(a-b)*(b-c))))
alpha = math.degrees(theta)
gramma = int(360-alpha)
print(gramma)
# 1496549 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

theta = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)*(a-c)*(b-c))))
alpha = math.degrees(theta)
gramma = int(360-alpha)
print(gramma)
# 1496572 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

theta = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+(a-c)*(b-c))))
alpha = math.degrees(theta)
gramma = int(360-alpha)
print(gramma)

6430334121
# 1496298 (0%)
def xyz (a,b,c) :
  
  x = 1/2((a-b)+(a-c))/((a-b)**2)+(a-c)*(b-c))**0.5
  a = math.degrees(x)
  y = math.acos(a)
  return y
# 1496357 (0%)
def xyz (a,b,c) :
  
  x = 1/2((a-b)+(a-c))/((a-b)**2)+(a-c)*(b-c))**0.5
  a = math.acos(x)
  y = math.degrees(a)
  return y
# 1496385 (0%)
def xyz (a,b,c) :
  
  x = 1/2*((a-b)+(a-c))/((a-b)**2)+(a-c)*(b-c))**0.5
  a = math.acos(x)
  y = math.degrees(a)
  return y
# 1496428 (0%)
def xyz (a,b,c) :
  
  x = (1/2*((a-b)+(a-c))/((a-b)**2)+(a-c)*(b-c))**0.5
  a = math.acos(x)
  y = math.degrees(a)
  return y
# 1496622 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(0.5(a-b+a-c)/(((a-b)**2+(a-c)(b-c))**0.5))
y = math.degrees(z)
g = int(360 - y)
print(g)
# 1496645 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(0.5(a-b+a-c)/(((a-b)**2+(a-c)(b-c))**0.5))
y = math.degrees(z)
x = int(360 - y)
print(x)
# 1496690 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(0.5(a-b+a-c)/(((a-b)**2+(a-c)(b-c))**0.5))
y = math.degrees(z)
g = int(360 - y)
print(g)
# 1496809 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(0.5(a-b+a-c)/(((a-b)**2+(a-c)(b-c))**0.5))
y = math.degrees(z)
g = int(360 - y)
print(g)
# 1496828 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
x=math.acos((((a-b)+(a-c))/2)/(((a-b)2+(a-c)*(b-c))0.5))
y=math.degrees(x)
z=int(360-y)
print(z)
# 1496847 (0%)
import math
  a=float(input())
  b=float(input())
  c=float(input())
  x=math.acos((((a-b)+(a-c))/2)/(((a-b)2+(a-c)*(b-c))0.5))
  y=math.degrees(x)
  z=int(360-y)
print(z)
# 1496867 (0%)
import math
  a = float(input())
  b = float(input())
  c = float(input())
  z = math.acos(0.5(a-b+a-c)/(((a-b)**2+(a-c)(b-c))**0.5))
  y = math.degrees(z)
  x = int(360 - y)
print(x)
# 1496874 (0%)
import math
  a = float(input())
  b = float(input())
  c = float(input())
  z = math.acos(0.5(a-b+a-c)/(((a-b)**2+(a-c)(b-c))**0.5))
  y = math.degrees(z)
  x = int(360 - y)
print(x)
# 1496902 (0%)
import math
  a = float(input())
  b = float(input())
  c = float(input())
  z = math.acos(0.5*((a-b)+a-c)/(((a-b)**2+(a-c)(b-c))**0.5))
  y = math.degrees(z)
  x = int(360 - y)
print(x)
# 1496910 (0%)
import math
  a = float(input())
  b = float(input())
  c = float(input())
  z = math.acos(0.5*((a-b)+a-c)/(((a-b)**2+(a-c)(b-c))**0.5))
  y = math.degrees(z)
  x = int(360 - y)
print(x)
# 1496927 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(0.5*(a-b+a-c)/(((a-b)**2+(a-c)(b-c))**0.5))
y = math.degrees(z)
x = int(360 - y)
print(x)
# 1496951 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(0.5(a-b+a-c)/(((a-b)**2+(a-c)(b-c))**0.5))
y = math.degrees(z)
x = int(360 - y)
print(x)
# 1496962 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(0.5*(a-b+a-c)/(((a-b)**2+(a-c)(b-c))**0.5))
y = math.degrees(z)
x = int(360 - y)
print(x)
# 1496974 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(0.5*(a-b+a-c)/(((a-b)**2+(a-c*)(b-c))**0.5))
y = math.degrees(z)
x = int(360 - y)
print(x)
# 1496983 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(0.5*(a-b+a-c)/(((a-b)**2+(a-c)*(b-c))**0.5))
y = math.degrees(z)
x = int(360 - y)
print(x)
# 1496989 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(0.5*(a-b+a-c)/(((a-b)**2+(a-c)*(b-c))**0.5))
y = math.degrees(z)
x = int(360 - y)
print(x)

6430335821
# 1496128 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
y = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
x = math.degrees(y)
z = int(360-x)

# 1496147 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
y = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
x = math.degrees(y)
z = int(360-x)
print(z)

6430337021
# 1496970 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
d = (a-b)+(a-c)
e = ((a-b)**2)+(a-c)*(b-c)
f = math.acos((0.5*d)/(e**0.5))
x = 360 - math.degrees(f)
print(int(x))

6430338721
# 1496102 (0%)
a=int(input())
b=int(input())
c=int(input())
x=int(360-y)
y=math.degrees(math.acos(((1/2)((a-b)+(a-c)))/(math.sqrt(((a-b)**2)-(a-c)(b-c)))))

# 1496164 (0%)
a=int(input())
b=int(input())
c=int(input())
y=math.degrees(math.acos(((1/2)((a-b)+(a-c)))/(math.sqrt(((a-b)**2)-(a-c)(b-c)))))
x=int(360-y)
print(x)
# 1496239 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
y=math.degrees(math.acos(((1/2)((a-b)+(a-c)))/(math.sqrt(((a-b)**2)-(a-c)(b-c)))))
x=int(360-y)
print(x)
# 1496479 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
y=math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+(a-c)*(b-c))))
x=int(360-math.degrees(y))
print(x)

6430339321
# 1496552 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(0.5*(a-b+a-c)/(((a-b)**2+(a-c)*(b-c))**0.5))
y = math.degrees(z)
x = int(360 - y)
print(x)


6430340921
# 1496532 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
x = math.acos(1/2((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))
y = int(360-math.degrees(x))
print(y)

# 1496586 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
x = math.acos(1/2((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))
y = int(360-math.degrees(x))
print(y)
# 1496620 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
x = math.acos(1/2((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))
y = int(360-math.degrees(x))
print("{:.0f}".format(y))
# 1496648 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos((1/2)*((a-b)+(a-c))/math.sqrt(math.pow(a-b,2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))

6430341521
# 1496099 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

theta = math.acos(((1/2)*((a-b)+(a-c)))/((((a-b)**2)+(a-c)*(b-c))**(1/2)))

theta_answer = math.degrees(theta)

x = int(360-theta_answer)

print(x)


6430342121
# 1496468 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
acos = math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
deg = math.degrees(acos)
print(int(360-deg))

6430343821
# 1496776 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

y = math.acos(((1/2)*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c))))
x = math.degrees(y)
print(int(360-x))


6430344421
# 1496287 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
A = math.acos((0.5*((a-b)+(a-c)))/((a-b)**2+(a-c)*(b-c))**0.5)
A = math.degrees(A)
x = int(360 - A)
print(x)

6430345021
# 1496613 (0%)
import math
a =float(input())
b=float (input())
c=float (input())
x=int (360-p)
d =math.acos(1/2*((a+b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))
p =math.degrees(d)
print (p)

# 1496659 (0%)
import math
a =float(input())
b=float (input())
c=float (input())
x=int (360-p)
d =math.acos(1/2*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))
p =math.degrees(d)
print (p)
# 1496784 (0%)
 import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(0.5*(a-b+a-c)/(((a-b)**2+(a-c)*(b-c))**0.5))
y = math.degrees(z)
x = int(360 - y)
print(x)
# 1496936 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(1/2*((a-b)+(a-c))/ math.sqrt((a-b)**2+(a-b)*(b-c)))
y = math.degrees(z)
x = 360-math.degrees(z)
print(x)
# 1496957 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(1/2*((a-b)+(a-c))/ math.sqrt((a-b)**2+(a-c)*(b-c)))
y = math.degrees(z)
x = 360-math.degrees(z)
print(x)
# 1496979 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos(1/2*((a-b)+(a-c))/ math.sqrt((a-b)**2+(a-c)*(b-c)))
y = math.degrees(z)
x = 360-math.degrees(z)
print(int(x))

6430346721
# 1496471 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

h = (a-b)+(a-c)
k = ((a-b)**2)+(a-c)(b-c)
y = (k)**0.5
z = (0.5*x)/y
r = math.acos(z)
d = math.degrees(r)

x = int(360-d)
print(x)
# 1496565 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

h = (a-b)+(a-c)
k = ((a-b)**2)+(a-c)(b-c)
y = (k)**0.5
z = (0.5*x)/y
r = math.acos(z)
d = math.degrees(r)

x = int(360-d)
print(x)
# 1496716 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

h = (a-b)+(a-c)
k = ((a-b)**2)+(a-c)*(b-c)
y = (k)**0.5
z = (0.5*x)/y
r = math.acos(z)
d = math.degrees(r)

x = int(360-d)
print(x)
# 1496810 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

h = (a-b)+(a-c)
k = ((a-b)**2)+(a-c)*(b-c)
y = (k)**0.5
z = (0.5*h)/y
r = math.acos(z)
d = math.degrees(r)

x = int(360-d)
print(x)

6430347321
# 1496387 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+((a-c)*(b-c)))))
print(int(360-math.degrees(theta)))

6430348021
# 1496384 (0%)
a = float(input())
b = float(input())
c = float(input())

def x=int(360-@)
    

@ = math.acos(1/2(((a-b)+(a-c))/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
                  
print mathdegrees(x)

# 1496728 (0%)
a = float(input())
b = float(input())
c = float(input())

  def x=int(360-@)
    

  @ = math.acos(1/2(((a-b)+(a-c))/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
                  
  print mathdegrees(x)
# 1496841 (100%)
import math

a = float(input())
b = float(input())
c = float(input())
theta = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2+((a-c)*(b-c)))**0.5))
a = math.degrees(theta)
x=int(360-a)
print(x)

6430349621
# 1496326 (100%)
a = float(input())
b = float(input())
c = float(input())

import math
z =  math.acos((0.5*(2*a-b-c))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
m = math.degrees(z)
x = int(360-m)
print(x)

6430350121
# 1496205 (100%)
a = float(input())
b = float(input())
c = float(input())
import math
q = 0.5*((a-b)+(a-c))
s = (((a-b)**2)+ ((a-c)*(b-c)))**0.5
W = q/s
A = math.acos(W)
B = math.degrees(A)
x = int(360-B)
print(x)

6430351821
# 1496545 (0%)
import math

def the(a,b,c):
    d = math.acos((0.5*((a-b)+(a-c))) / math.sqrt(((a-b)**2)+(a-c)*(b-c)))
    return d

def main():
    x = 360 - d
    print(int(x))
# 1496678 (0%)
import math

def the(a,b,c):
    d = math.acos((0.5*((a-b)+(a-c))) / math.sqrt(((a-b)**2)+(a-c)*(b-c)))
    return d

def main():
    x = 360 - math.degrees(d)
    print(int(x))

# 1496921 (100%)
import math

a = float(input())
b = float(input())
c = float(input())
d = math.acos((0.5*((a-b)+(a-c))) / math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y = int(360 - math.degrees(d))
print(y)
   
# 1496998 (100%)
import math

a = float(input())
b = float(input())
c = float(input())
zeta = math.acos((0.5*((a-b)+(a-c))) / math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x = int(360 - math.degrees(zeta))
print(x)

6430353021
# 1496707 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
def ct(a,b,c) :
    return math.degrees(math.acos((((a-b)+(a-c))*1/2)/math.sqrt((a-b)**2+(a-c)*(b-c))))
x = int(360-ct(a,b,c))
print(x)

6430354721
# 1496213 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
D=math.degrees(math.acos(0.5*((a-b)+(a-c))/((a-b)**2+(a-c)*(b-c))**0.5))
print(int(360 - D))

6430356021
# 1496392 (100%)
import math as m
a=float(input())
b=float(input())
c=float(input())

r = m.acos(  (0.5*((2*a-b-c)) ) / (m.sqrt( ((a-b)**2) +(a-c)*(b-c)   ))  )
x=int(360-m.degrees(r))
print(x)

6430357621
# 1496624 (0%)
import math
 
a = float(input())
b = float(input())
c = float(input())
 
x = (0.5*((a-b)+(a-c)))/((((a-b)**2)+(a-c)*(a-b))**(0.5))

y = math.acos(x)

print (360-int(math.degrees(y)))

# 1496825 (0%)
import math
 
a = float(input())
b = float(input())
c = float(input())
 
x = (0.5*((a-b)+(a-c)))/((((a-b)**2)+(a-c)*(b-c))**(0.5))

y = math.acos(x)

print (360-int(math.degrees(y)))

# 1496863 (0%)
import math
 
a = float(input())
b = float(input())
c = float(input())
 
x = (0.5*((a-b)+(a-c)))/((((a-b)**2)+(a-c)*(b-c))**(0.5))

y = math.acos(x)

print (360-int(math.degrees(y)))

# 1496937 (100%)
import math
 
a = float(input())
b = float(input())
c = float(input())
 
x = (0.5*((a-b)+(a-c)))/((((a-b)**2)+(a-c)*(b-c))**(0.5))

y = math.acos(x)

print (359-int(math.degrees(y)))

6430358221
# 1496119 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((2 * a - b - c) / (2 * (((a - b) ** 2 + (a - c) * (b - c)) ** 0.5)))
x = int(360 - math.degrees(theta))
print(x)

6430361021
# 1496744 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

u = ((a-b)+(a-c))/2
d = math.sqrt((a-b)**2+(a-c)*(b-c))

theta = math.acos(u/d)
thetaDEG = math.degrees(theta)
x = int(360-thetaDEG)

print(x)

6430362721
# 1496263 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

theta = math.acos( (0.5*((a-b) + (a-c))) / \
        math.sqrt(((a-b)**2 + (a-c)*(b-c))) )
x = int(360-math.degrees(theta))

print(x)

6430363321
# 1496519 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

zeta = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))) 
zeta = math.degrees(zeta)
x = int(360-zeta)
print(x)

6430364021
# 1496499 (0%)
import math

a = float(input())
b = float(input())
c = float(input())
theta = math.acos((0.5*((a-b)+(a-c)))/((a-b)**2+((a-c)*(b-c))**0.5))
theta = math.degrees(theta)
x=int(360-theta)
print(x)
# 1496814 (100%)
import math

a = float(input())
b = float(input())
c = float(input())
theta = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2+((a-c)*(b-c)))**0.5))
a = math.degrees(theta)
x=int(360-a)
print(x)

6430365621
# 1496595 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
f0 = (a-b)+(a-c) 
f1 = (1/2)*(f0)
f1_1 = a-b
f1_2 = a-c
f1_3 = b-c
f2 = (((f1_1)**2)+((f1_2)*(f1_3)))**(1/2)
Degree = math.acos(f1/f2)
Degree1 = math.degrees(Degree)
x = int(360-Degree1)
print(x)

6430366221
# 1496618 (0%)
import math


a = float(input())
b = float(input())
c = float(input())

seta = math.acos(((0.5*((a-b)+(a-c)))) / ((  ((a-b)**2)  + ((a-c) * (a-b)) ) ** 0.5))


deg = math.degrees(seta)


n = int(360 - deg)

print(n)


# 1496625 (0%)
import math


a = float(input())
b = float(input())
c = float(input())

seta = math.acos(((0.5*((a-b)+(a-c)))) / ((  ((a-b)**2)  + ((a-c) * (a-b)) ) ** 0.5))


deg = math.degrees(seta)


n = int(360 - deg)

print(n)
# 1496742 (100%)
import math


a = float(input())
b = float(input())
c = float(input())

seta = math.acos(((0.5*((a-b)+(a-c)))) / ((  ((a-b)**2)  + ((a-c) * (b-c)) ) ** 0.5))


deg = math.degrees(seta)


n = int(360 - deg)

print(n)




# 1496766 (100%)
import math


a = float(input())
b = float(input())
c = float(input())

seta = math.acos(((0.5*((a-b)+(a-c)))) / ((  ((a-b)**2)  + ((a-c) * (b-c)) ) ** 0.5))


deg = math.degrees(seta)


n = int(360 - deg)

print(n)

6430367921
# 1496195 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
dregree1=math.acos((1/2*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
dregree1=math.degrees(dregree1)
x=int(360-dregree1)
print(x)
# 1496372 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
dregree1=math.acos((1/2*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
dregree1=math.degrees(dregree1)
x=int(360-dregree1)
print(x)

6430368521
# 1496317 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
seta= math.acos((0.5*((a-b)+(a-c)))/((math.sqrt(((a-b)**2)+(a-c)*(b-c)))))
x=int(360-math.degrees(seta))
print(x)


6430369121
# 1496131 (100%)
import math
def theta(a,b,c):
    theta = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2+(a-c)*(b-c))))
    theta = math.degrees(theta)
    return theta

a = float(input())
b = float(input())
c = float(input())

print(int(360-theta(a,b,c)))

6430370721
# 1496242 (0%)
import math

a, b, c = float(input()), float(input()), float(input())

h = (0.5)*(2*a-b-c)

v = ((a-b)**2+(a-c)*(b-c))**0.5

x = math.acos(h/v)

print(360 - math.degrees(x))
# 1496273 (0%)
import math

a, b, c = float(input()), float(input()), float(input())

h = (0.5)*(2*a-b-c)

v = ((a-b)**2+(a-c)*(b-c))**0.5

x = math.acos(h/v)

print(360 - int(math.degrees(x)))
# 1496284 (0%)
import math

a, b, c = float(input()), float(input()), float(input())

h = (0.5)*(2*a-b-c)

v = ((a-b)**2+(a-c)*(b-c))**0.5

x = math.acos(h/v)

print(360 - int(math.degrees(x)))
# 1496292 (0%)
import math

a, b, c = float(input()), float(input()), float(input())

h = (0.5)*(2*a-b-c)

v = ((a-b)**2+(a-c)*(b-c))**0.5

x = math.acos(h/v)

print(360 - math.degrees(x))
# 1496315 (100%)
import math

a, b, c = float(input()), float(input()), float(input())

h = (0.5)*(2*a-b-c)

v = ((a-b)**2+(a-c)*(b-c))**0.5

x = math.acos(h/v)

print(int(360 - math.degrees(x)))
# 1496526 (100%)
import math

a, b, c = float(input()), float(input()), float(input())

h = (0.5)*(2*a-b-c)
v = ((a-b)**2+(a-c)*(b-c))**0.5

theta = math.acos(h/v)

print(int(360 - math.degrees(theta)))

6430371321
# 1496485 (100%)
import math
def arc(a,b,c):
    sol = math.acos(0.5*(a-b+a-c)/math.sqrt((a-b)**2+(a-c)*(b-c)))
    return sol

a = float(input())
b = float(input())
c = float(input())
z = arc(a,b,c)
x = int(360-math.degrees(z))
print(x)

6430373621
# 1496822 (100%)
import math

a = int(input())
b = int(input())
c = int(input())


y = ((1/2)*(a-b+a-c))/(math.sqrt((a-b)**2+(a-c)*(b-c)))

theta = math.acos(y)
r = math.degrees(theta)
x = int(360-r)
print(x)

6430375921
# 1496249 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
ceta_radian = math.acos(((1/2)*((a-b)+(a-c)))/((((a-b)**2)+((a-c)*(b-c)))**0.5))
ceta_degree = math.degrees(ceta_radian)
x = int(360 - (ceta_degree))
print(x)

6430376521
# 1496759 (0%)
import math

a = int(input())
b = int(input())
c = int(input())

radian = math.acos(0.5*(2*a-b-c))/(math.sqrt((a-b)**0.5+(a-c)*(b-c)))
print math.degrees(360-radian)
# 1496860 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))

6430377121
# 1496310 (100%)
import math
a,b,c = int(input()),int(input()),int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))
# 1496355 (100%)
import math
a,b,c = int(input()),int(input()),int(input())
x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))
# 1496420 (100%)
import math
a,b,c = int(input()),int(input()),int(input())
x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print(round(result,0))

6430379421
# 1496110 (0%)
import math

a = float(input())
b = float(input())
c = float(input())


A = 0.5*(a+a-b-c)
B = ((a-b)**2 +(a-c)*(b-c))**0.5
theta = math.acos(A/B)

print(math.degrees(int(360-theta)))

# 1496641 (0%)
import math

a = float(input())
b = float(input())
c = float(input())


A = 0.5*((a-b)+(a-c))
B = ((a-b)**2 +(a-c)*(b-c))**0.5
theta = math.acos(A/B)

k = math.radians(theta)

x = int(360-k)

print(x)

# 1496823 (0%)
import math

a = float(input())
b = float(input())
c = float(input())


A = 0.5*((a-b)+(a-c))
B = ((a-b)**2 +(a-c)*(b-c))**0.5
theta = math.acos(A/B)


x = int(360-theta)

print(x)

# 1496896 (0%)
import math

a = float(input())
b = float(input())
c = float(input())


A = 0.5*((a-b)+(a-c))
B = ((a-b)**2 +(a-c)*(b-c))**0.5
theta = math.acos(A/B)


x = int(360-theta)

print(math.degrees(x))
# 1496960 (100%)
import math

a = float(input())
b = float(input())
c = float(input())


A = 0.5*((a-b)+(a-c))
B = ((a-b)**2 +(a-c)*(b-c))**0.5
theta = math.degrees(math.acos(A/B))


x = int(360-theta)

print(x)


6430380021
# 1496418 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((0.5*(a-b+a-c))/((a-b)**2+(a-c)*(b-c))**0.5)
x = math.degrees(s)

ans = int(360-x)

print(ans)

6430381621
# 1496567 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

A = 0.5*((a-b)+(a-c))
B = (a-b)**2
C = (a-c)*(b-c)
D = B + C
E = math.sqrt(D)
F = A/E
X = math.acos(F)

X = math.degrees(X)

x = int(360-X)

print(x)
# 1496965 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

one = 1/2*((a-b)+(a-c))
two = math.sqrt(((a-b)**2)+((a-c)*(b-c)))

theta_rad = math.acos(one/two)

theta_degrees = math.degrees(theta_rad)

x= int(360-theta_degrees)

print(x)


6430382221
# 1496318 (100%)
import math

a=int(input())
b=int(input())
c=int(input())



g=((1/2)*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+((a-c)*(b-c))))
zeta=math.acos(g)
seta=math.degrees(zeta)

x=int(360-seta)

print(x)

6430384521
# 1496149 (0%)
import math

a = float(input())
b = float(input())
c = float(input())



ceta = math.acos(((1/2)*(((a-b)+(a+c))))/(((a-b)**2)+(a-c)*(b-c))**1/2)

x = int(360-ceta)

print(X)


# 1496220 (0%)
import math

a = float(input())
b = float(input())
c = float(input())



ceta = math.acos(((1/2)*(((a-b)+(a+c))))/(((a-b)**2)+(a-c)*(b-c))**1/2)
ceta2 = math.degree(ceta)

x = int(360-ceta2)

print(X)

# 1496264 (0%)
import math

a = float(input())
b = float(input())
c = float(input())



ceta = math.acos(((1/2)*(((a-b)+(a-c))))/(((a-b)**2)+(a-c)*(b-c))**1/2)
ceta2 = math.degree(ceta)

x = int(360-ceta2)

print(X)


# 1496294 (0%)
import math

a = float(input())
b = float(input())
c = float(input())



ceta = math.acos(((1/2)*(((a-b)+(a-c))))/(((a-b)**2)+(a-c)*(b-c))**1/2)
ceta2 = math.degrees(ceta)

x = int(360-ceta2)

print(X)
# 1496336 (0%)
import math

a = float(input())
b = float(input())
c = float(input())



ceta = math.acos(((1/2)*(((a-b)+(a-c))))/(((a-b)**2)+(a-c)*(b-c))**0.5)
ceta2 = math.degrees(ceta)

x = int(360-ceta2)

print(X)
# 1496480 (100%)
import math

a = float(input())
b = float(input())
c = float(input())



ceta = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2)+(a-c)*(b-c))**0.5)
ceta2 = math.degrees(ceta)

x = int(360-ceta2)

print(x)


6430385121
# 1496088 (0%)
import math

a = input()
b = input()
c = input()

m = 1 / 2 * ((a - b) + (a - c))
n = math.sqrt(math.pow(a - b, 2) + (a - c) * (b - c))
zeta = math.acos(m / n)

print(int(360 - zeta))

# 1496107 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

m = 1 / 2 * ((a - b) + (a - c))
n = math.sqrt(math.pow(a - b, 2) + (a - c) * (b - c))
zeta = math.acos(m / n)

print(int(360 - zeta))
# 1496127 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

m = 1 / 2 * ((a - b) + (a - c))
n = math.sqrt(math.pow(a - b, 2) + (a - c) * (b - c))
zeta = math.acos(m / n)

print(int(360 - math.degrees(zeta)))

6430386821
# 1496101 (100%)
import math

a = int(input())
b = int(input())
c = int(input())


seta = math.degrees(math.acos( (0.5*(a-b+a-c)) / \
                               (math.sqrt((a-b)**2 + (a-c)*(b-c))) ))

x = int(360 - seta)

print(x)
# 1496353 (100%)
import math

a = float(input())
b = float(input())
c = float(input())


seta = math.degrees(math.acos( (0.5*(a-b+a-c)) / \
                               (math.sqrt((a-b)**2 + (a-c)*(b-c))) ))

x = int(360 - seta)

print(x)

6430388021
# 1496117 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

theta = math.acos((0.5*((a-b)+(a-c))) / (math.sqrt((a-b)**2 +(a-c)*(b-c))))

theta = math.degrees(theta)
x = int(360 - theta)

print(x)

6430389721
# 1496451 (0%)
import math
aa = int(input())
bb = int(input())
cc = int(input())
a = math.degrees(360-aa)
b = math.degrees(360-bb)
c = math.degrees(360-cc)
def f(a,b,c) :
    ans = math.acos((((a-b)+(a-c)) / 2) // math.sqrt(((a-b)**2)+((a-c)*(b-c)))) 
    return ans
ans2 = math.degrees(f(aa,bb,cc))
print (ans2)
# 1496761 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((0.5((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)(b-c)))

x = int(360 - math.degrees(s))

print(x)

# 1496786 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((0.5((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)(b-c)))

x = int(360 - math.degrees(s))

print(x)
# 1496815 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
s = math.acos((0.5((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)(b-c)))
x = int(360 - math.degrees(s))
print(x)
# 1496842 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
s = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)(b-c)))
x = int(360 - math.degrees(s))
print(x)
# 1496861 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
s = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
x = int(360 - math.degrees(s))
print(x)

6430390221
# 1496789 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
    
d = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
d1 = math.degrees(d)
x = int(360-d1)

print(x)


6430391921
# 1496364 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
x=math.acos((((a-b)+(a-c))/2)/(((a-b)**2+(a-c)*(b-c))**2))
y=math.degrees(x)
z=int(360-y)
print(z)
# 1496438 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
x=math.acos((((a-b)+(a-c))/2)/(((a-b)**2+(a-c)*(b-c))**2))
y=math.degrees(x)
z=int(360-y)
# 1496464 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
x=math.acos((((a-b)+(a-c))/2)/(((a-b)**2+(a-c)*(b-c))**2))
y=math.degrees(x)
z=int(360-y)
print(z)
# 1496527 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
x=math.acos((((a-b)+(a-c))/2)/(((a-b)**2+(a-c)*(b-c))**0.5))
y=math.degrees(x)
z=int(360-y)
print(z)

6430392521
# 1496642 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

theta = math.acos(((1/2)*((a-b)+(a-c))/(math.sqrt(((a-b)**2)+((a-c)*(b-c))))))

theta_degree = math.degrees(theta)

x = int(360-theta_degree)

print(x)


6430393121
# 1496334 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
s = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+((a-c)*(b-c))))
s1 = math.degrees(s)
x = int(360-s1)
print(x)

6430394821
# 1496770 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
s = math.acos(((0.5)*((a-b)+(a-c))/(math.sqrt(((a-b)**2)+((a-c)*(b-c))))))
x = int(360-math.degrees(s))
print(x)

6430395421
# 1496207 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
d = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
d = math.degrees(d)
x = int(360-d)
print(x)


6430398321
# 1496267 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
ceta = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
ceta = math.degrees(ceta)
x = int(360-ceta)
print(x)

6430400921
# 1496529 (0%)
a=float(input())
b=float(input())
c=float(input())
z= (math.acos(((1/2)*(a-b+a-c))/(math.sqrt((a-b)**2+(a-c)*(b-c)))))
w= math.degrees(z)
y= int(360-w)
print(y)
# 1496646 (0%)
a=float(input())
b=float(input())
c=float(input())
z= math.acos(((1/2)*((a - b)+(a - c)))/((math.sqrt(((a - b)**2) + ((a - c)*(b - c))))))
w= math.degrees(z)
y= int(360-w)
print(y)
# 1496777 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
z= math.acos(((1/2)*((a - b)+(a - c)))/((math.sqrt(((a - b)**2) + ((a - c)*(b - c))))))
w= math.degrees(z)
y= int(360-w)
print(y)

6430402121
# 1496133 (100%)
import math

a=int(input())
b=int(input())
c=int(input())
x=((a-b)+(a-c))/2
y=math.sqrt(((a-b)**2)+((a-c)*(b-c)))
zeta=math.acos(x/y)
print(int(360-math.degrees(zeta)))
# 1496150 (0%)
import math

a=int(input())
b=int(input())
c=int(input())
x=((a-b)+(a-c))/2
y=math.sqrt(((a-b)**2)+((a-c)*(b-c)))
zeta=math.arccos(x/y)
print(int(360-math.degrees(zeta)))
# 1496156 (100%)
import math

a=int(input())
b=int(input())
c=int(input())
x=((a-b)+(a-c))/2
y=math.sqrt(((a-b)**2)+((a-c)*(b-c)))
zeta=math.acos(x/y)
print(int(360-math.degrees(zeta)))
# 1496233 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
x=((a-b)+(a-c))/2
y=math.sqrt(((a-b)**2)+((a-c)*(b-c)))
zeta=math.acos(x/y)
print(int(360-math.degrees(zeta)))
# 1496275 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
x = ((a-b)+(a-c))/ 2
y = math.sqrt(((a-b)**2) + ((a-c)*(b-c)))
zeta = math.acos(x/y)
print(int(360-math.degrees(zeta)))
# 1496348 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
x = ((a-b)+(a-c)) / 2
y = math.sqrt(((a-b)**2) + ((a-c)*(b-c)))
zeta = math.acos(x/y)
print(int(360-math.degrees(zeta)))
# 1496494 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
x = ((a-b)+(a-c)) / 2
y = math.sqrt(((a-b)**2) + ((a-c)*(b-c)))
theta = math.acos(x/y)
print(int(360-math.degrees(theta)))

6430403821
# 1496515 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

A = 0.5*((a-b)+(a-c))
B = (a-b)**2
C = (a-c)*(b-c)
D = B + C
E = math.sqrt(D)
F = A/E
X = math.acos(F)

X = math.degrees(X)

x = int(360-X)

print(x)


6430404421
# 1496627 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
Theta=math.degrees(math.acos((1/2*((a-b)+(a-c)))/((a-b)**2+(a-c)*(b-c))**0.5))
x=int(360-Theta)
print (x)

6430405021
# 1496093 (100%)
import math

a=int(input())
b=int(input())
c=int(input())
y=((a-b)+(a-c))/2
z=math.sqrt(((a-b)**2)+((a-c)*(b-c)))
zeta=math.acos(y/z)
print(int(360-math.degrees(zeta)))

6430407321
# 1496329 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

d = 1/2*((a-b)+(a-c))
q = math.sqrt(((a-b)**2)+(a-c)*(b-c))
cal= math.acos(d/q)
ans = math.degrees(cal)

print(int(360-ans))

6430408021
# 1496167 (0%)
a = int(input())
b = int(input())
c = int(input())
import math
de = math.acos(((1/2)*((a-b)+(a+c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
de = math.degree(de)
print(int(360-de))
# 1496236 (0%)
a = int(input())
b = int(input())
c = int(input())
import math
de = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
de = math.degree(de)
print(int(360-de))
# 1496295 (100%)
a = int(input())
b = int(input())
c = int(input())
import math
de = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
de = math.degrees(de)
print(int(360-de))

6430410121
# 1496606 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
g = math.acos((1/2*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+((a-c)*(b-c))))
s = math.degrees(g)
x = int(360-s)
print(x)

6430412421
# 1496535 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
t=math.acos((0.5*(a-b+a-c))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
y=math.degree(t)
x=int(360-y)
print(x)
# 1496608 (0%)
import math
a=abs(float(input()))
b=abs(float(input()))
c=abs(float(input()))
t=math.acos((0.5*(a-b+a-c))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
y=math.degree(t)
x=int(360-y)
print(x)
# 1496672 (100%)
import math
a=abs(float(input()))
b=abs(float(input()))
c=abs(float(input()))
t=math.acos((0.5*(a-b+a-c))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
y=math.degrees(t)
x=int(360-y)
print(x)

6430416021
# 1496522 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
m = a-b+a-c
n = ((a-b)**2)+(a-c)*(b-c)
T = math.acos((0.5*m)/(n**0.5))
x = 360-math.degrees(T)
print(int(x))

6430417621
# 1496402 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
z = math.acos((1/2*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
y = math.degrees(z)
x = int(360-y)
print(x)

6430419921
# 1496607 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print(x)
# 1496688 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
k = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x = int(360-math.degrees(x))
print(x)
# 1496717 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
k = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x = int(360-math.degrees(k))
print(x)

6430420421
# 1496283 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
xeta = math.acos((1/2*((2*a)-b-c))/(((a-b)**2 +(a-c)*(b-c))**0.5))
d = math.degrees(xeta)   
x = int(360-d)
print(x)

6430421021
# 1496190 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

rad = math.acos(((1/2)*((a-b)+(a-c)))/(((a-b)**2+((a-c)*(b-c)))**0.5))
x = int(360 - math.degrees(rad))
print(x)

6430422721
# 1496467 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

y = math.acos((1/2)*((a-b) + (a-c))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
x = int(360 - y)
print(x)
# 1496635 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

y = math.acos((1/2)*((a-b) + (a-c))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
x = (360 - math.degrees(y))
print(x)
# 1496674 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

y = math.acos((1/2)*((a-b) + (a-c))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
x = (360 - math.degrees(y))
print(int(x))

6430423321
# 1496311 (0%)
import math
a=float(input())
b=float(input())
c=float(input())

oper = (1/2*(a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c))
ac = math.acos(oper)
de = math.degrees(ac)
x = int(360-de)

print(x)

# 1496431 (100%)
import math
a=float(input())
b=float(input())
c=float(input())

oper = (1/2*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))
ac = math.acos(oper)
de = math.degrees(ac)
x = int(360-de)

print(x)

6430424021
# 1496517 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
w = (1/2)*((a-b)+(a-c))
q = math.sqrt((((a-b)**2))+(a-c)*(b-c))
s = math.degrees(math.acos(w/q))
x=(360 - s)
print (math.floor(x))
# 1496544 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
w = (1/2)*((a-b)+(a-c))
q = math.sqrt((((a-b)**2))+(a-c)*(b-c))
s = math.degrees(math.acos(w/q))
x=(360 - s)
print (math.floor(x))
# 1496845 (100%)
import math
a =float(input())
b = float(input())
c = float(input())
w = (1/2)*((a-b)+(a-c))
q = math.sqrt((((a-b)**2))+(a-c)*(b-c))
s = math.degrees(math.acos(w/q))
x=(360 - s)
print (math.floor(x))

6430425621
# 1496590 (100%)
import math
def arcos(a, b, c):
    t = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
    return t
a = int(input())
b = int(input())
c = int(input())
x = int(360-math.degrees(arcos(a,b,c)))
print(int(x))

6430426221
# 1496260 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

theta = math.acos(((0.5)*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+(a-c)*(b-c))))
x = int(360-math.degrees(theta))
print(x)

6430428521
# 1496145 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2)+((a-c)*(b-c)))**0.5)
degree = math.degrees(theta)
x = int(360-degree)
print(x)

6430429121
# 1496251 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
s = ((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2 + (a-c)*(b-c))
r = math.degrees(math.acos(s))
ans = int(360 - r)
print(ans)

6430430721
# 1496215 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
s = math.acos(((1/2)*((a-b)+(a-c)))/((((a-b)**2)+((a-c)*(b-c)))**0.5))
d = math.degrees(s)
x = int(360-d)
print(int(x))

6430431321
# 1496578 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
s = math.acos((1/2*(a-b+a-c))/math.sqrt((a-b)**2 +((a-c)*(b-c))))
x = int(360 - math.degrees(s))
x = int(x + 0.5)
print(x)

6430433621
# 1496187 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
an = math.degrees(math.acos(((1/2)*((a-b)+(a-c)))/(((a-b)**2+(a-c)*(b-c))**(1/2))))
print(int(360-an))


6430434221
# 1496202 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
numerator = 1/2*((a-b) + (a-c))
denominator = math.sqrt((a-b)**2 + ((a-c)*(b-c)))
seta = math.acos(numerator/denominator)
x = int(360-math.degrees(seta))
print(x)

6430435921
# 1496437 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.degrees(math.acos((0.5*(a-b+a-c))/math.sqrt((a-b)**2+(a-c)*(b-c))))
x = int(360 - theta)
print(x)

6430436521
# 1496715 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

up = 0.5 * ((a-b) + (a-c))
down = math.sqrt(((a-b)**2) + (a-c)*(b-c))
div = up / down
theta = math.acos(div)
x = int(360-math.degrees(theta))

print(x)

6430438821
# 1496414 (0%)
import math 
a = int(input())
b = int(input())
c = int(input())

y = math.acos((0.5((a-b)+(a-c)))/((((a-b)**2)+(a-c)(b-c))**0.5))
y = math.degrees(y)
x = int(360-y)

print(x)
# 1496512 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
y = math.degrees(math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)*(b-c)))))
x = int(360-y)
print(x)

6430439421
# 1496423 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

theta = math.degrees(math.acos(0.5*((a-b)+(a-c))/(math.sqrt((a-b)**2 +(a-c)*(b-c)))))
x = int(360 - theta)

print(x)

6430441621
# 1496421 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
seta = math.acos(1/2*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
x = int(360-math.degrees(seta))
print(x)

6430442221
# 1496443 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
t = math.degrees(math.acos(((1/2)*(a-b+a-c))/math.sqrt((a-b)**2+(a-c)*(b-c))))
x = (int(360-t))
print(x)

6430443921
# 1496272 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

u = 0.5*((a-b)+(a-c))
v = (((a-b)**2)+((a-c)*(b-c)))**0.5
z = u/v

theta = math.acos(z)
x =int(360-math.degrees(theta))

print(x)

6430444521
# 1496377 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
d  = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
r  = math.degrees(d)
x = int(360-r)
print(x)

6430446821
# 1496302 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
angle=(1/2*((a-b)+(a-c)))/((a-b)**2 + (a-c)*(b-c))**(1/2)
angle1=math.acos(angle)
y=math.degrees(angle1)
x=int(360-y)
print(x)

6430449721
# 1496337 (100%)
a = float(input())
b = float(input())
c = float(input())
import math
y = math.acos((0.5*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+((a-c)*(b-c))))
d = math.degrees(y)
x = int(360-d)
print(x)

6430451921
# 1496555 (100%)
a = float(input())
b = float(input())
c = float(input())

import math
d = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
x = int(360-math.degrees(d))

print(x)


6430452521
# 1496189 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

w = math.acos((0.5*(a-b+a-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
wdeg = math.degrees(w)
x = int(360-wdeg)

print(x)

6430453121
# 1496653 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))

x = int(360 - math.degrees(s))

print(x)

6432001521
# 1496118 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
d=(1/2)*((a-b)+(a-c))
e=math.sqrt((a-b)**2+(a-c)*(b-c))
t=math.acos(d/e)
t=math.degrees(t)
x=int(360-t)
print(x)

6432002121
# 1496521 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
def arccos(a,b,c):
  y = math.acos((1/2*(a-b+a-c)/(math.sqrt((a-b)**2+(a-c)*(b-c)))))
  z = math.degrees(y)
  x = int(360-z)
  return x
print (arccos(a,b,c))

6432003821
# 1496813 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
y = math.degrees(theta)
x = int(360-y)
print(x)

6432004421
# 1496217 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x = int(360-math.degrees(theta))
print(x)

6432005021
# 1496791 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
o = math.acos((1/2)*((a-b)+(a-c))/math.sqrt(((a-b)**2+((a-c)*(b-c)))))
x = x= int(360-math.degrees(o))
print(x)
# 1496948 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
o = math.acos((1/2)*((a-b)+(a-c))/math.sqrt(((a-b)**2+((a-c)*(b-c)))))
x = int(360-math.degrees(o))
print(x)

6432006721
# 1496569 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

q  = (0.5)*((a-b)+(a-c))
w = math.sqrt( (a-b)**2 + ((a-c)*(b-c)) )
#w = ( ((a-b)**2) -( (a-c)*(b-c)) )**(0.5)
#r = math.sqrt( ((a-b)**2) - (a-c)*(b-c) )
#print(w,q)
s = math.acos(q/w)

x = math.degrees(s)
x = int(360-x)
print(x)

6432007321
# 1496783 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
q=a-b
w=a-c
e=b-c
r=((1/2)*(q+w))
u=w*e
y=(q**2)+u
t=math.sqrt(y)
i=(r/t)
o=math.acos(i)
j=math.degrees(o)
n=360-j
print(n)
# 1496821 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
q=a-b
w=a-c
e=b-c
r=((1/2)*(q+w))
u=w*e
y=(q**2)+u
t=math.sqrt(y)
i=(r/t)
o=math.acos(i)
j=math.degrees(o)
n=int(360-j)
print(n)

6432009621
# 1496352 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
x=math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x=360-math.degrees(x)
print("{:.0f}".format(x))
# 1496462 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
x=math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
x=int(360-math.degrees(de))
print(x)
# 1496547 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
x=math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y=int(360-math.degrees(x))
print(y)

6432010121
# 1496528 (100%)
import math 

a = float(input())
b = float(input())
c = float(input())

k = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+((a-c)*(b-c))))
x = int(360-math.degrees(k))
print(x)

6432012421
# 1496510 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
theta1 = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2 + (a-c)*(b-c))**0.5))
theta2 = math.degrees(theta1)
print(int(360-thetad2))
# 1496551 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
theta1 = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2 + (a-c)*(b-c))**0.5))
theta2 = math.degrees(theta1)
print(int(360-theta2))

6432013021
# 1496923 (0%)
import math

a = float(input())
b = float(input())
c = float(input())


math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
n = int(360-math.degrees(x))
print(n)
# 1496949 (100%)
import math

a = float(input())
b = float(input())
c = float(input())


f = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
n = int(360-math.degrees(f))
print(n)

6432016021
# 1496650 (100%)
import math

a = int(input())
b = int(input())
c = int(input())
x = math.acos((1/2)*((a-b)+(a-c))/math.sqrt(math.pow(a-b,2)+(a-c)*(b-c)))
y = int(360 - math.degrees(x))
print("{:.0f}".format(y))



6432017621
# 1496388 (100%)
import math
from math import sqrt
a = int(input())
b = int(input())
c = int(input())

theta = math.acos((0.5*((a-b)+(a-c)))/(sqrt((a-b)**2+(a-c)*(b-c))))
theta = math.degrees(theta)
x = 360 - theta
print(int(x))
# 1496597 (0%)
import math
from math import sqrt

a = int(input())
b = int(input())
c = int(input())

theta = math.acos((0.5*((a-b)+(a-c)))/(sqrt((a-b)**2+(a-c)*(b-c))))
print(360 - math.degrees(theta))
# 1496636 (100%)
import math
from math import sqrt
a = int(input())
b = int(input())
c = int(input())

theta = math.acos((0.5*((a-b)+(a-c)))/(sqrt((a-b)**2+(a-c)*(b-c))))
theta = math.degrees(theta)
x = 360 - theta
print(int(x))

6432020421
# 1496168 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
r1=0.5*((a-b)+(a-c))
r2=math.sqrt((a-b)**2+(a-c)*(b-c))
r=math.acos(r1/r2)
print(int(360-math.degrees(r)))

6432021021
# 1496200 (100%)
import math
a=int(input())
b=int(input())
c=int(input())

d=math.acos((0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c))))
x=int(360-math.degrees(d))

print(x)


6432022721
# 1496255 (100%)
import math 
a=float(input())
b=float(input())
c=float(input())
y=math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2)+(a-c)*(b-c))**0.5)
z=math.degrees(y) 
x=int(360-z)
print(x)

6432027921
# 1496698 (100%)
import math
a = float(input())

b = float(input())

c = float(input())

x = (1/2)*((a-b)+(a-c)) / math.sqrt((a-b)**2 + (a-c)*(b-c))

s = math.acos(x)
y = math.degrees(s)
print( int(360-y) )

6432029121
# 1496289 (0%)
import math 

a = int(input())
b = int(input())
c = int(input())

z = math.acos(((1/2)*(a-b+a-c))/(math.sqrt((a-b)**2)+((a-c)*(b-c))))
z = math.degrees(z)

x = int(360-z)
# 1496508 (0%)
import math 

    
    

a = int(input())
b = int(input())
c = int(input())

z = math.acos(((1/2)*(a-b+a-c))/(math.sqrt((a-b)**2)+((a-c)*(b-c))))
z = math.degrees(z)

x = int(360-z)
print(x)

# 1496868 (100%)
import math 

    
    

a = int(input())
b = int(input())
c = int(input())

z = math.acos(((1/2)*(a-b+a-c))/(math.sqrt(((a-b)**2)+((a-c)*(b-c)))))
z = math.degrees(z)

x = int(360-z)
print(x)

6432031321
# 1496397 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

z = math.acos(((1/2)*((a-b)+(a-c))/(math.sqrt(((a-b)**2)+((a-c)*(b-c))))))
x = int(360-math.degrees(z))
print(x)


6432033621
# 1496125 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
de=math.acos((1/2*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x=int(360-math.degrees(de))
print(x)


6432034221
# 1496194 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

eq = (1/2*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c)))
acos = math.acos(eq)
ceta = math.degrees(acos)
x = int(360-ceta)

print(x)

6432035921
# 1496710 (100%)
import math
a = float(input())

b = float(input())

c = float(input())

x = (1/2)*((a-b)+(a-c)) / math.sqrt((a-b)**2 + (a-c)*(b-c))

s = math.acos(x)
y = math.degrees(s)
print( int(360-y) )

6432037121
# 1496288 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
d  = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
r  = math.degrees(d)
x = int(360-r)
print(x)

6432039421
# 1496585 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
x = math.acos((((a-b)+(a-c))/2)/(math.sqrt((a-b)**2+(b-c)*(a-c))))
s = (360-math.degrees(x))
print(s)
# 1496634 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
x = math.acos((((a-b)+(a-c))/2)/(math.sqrt((a-b)**2+(b-c)*(a-c))))
s = int(360-math.degrees(x))
print(s)

6432040021
# 1496097 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
p=0.5*((a-b)+(a-c))/(math.sqrt((a-b)**2+(a-c)*(b-c)))

seta=math.degrees(math.acos(p))
x=int(360-seta)

print(x)

6432042221
# 1496748 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
y=math.acos((1/2*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+(a-c)*(b-c))))
x=int(360-math.degrees(y))

print(x)


6432043921
# 1496296 (100%)
import math

a = float(input()) 
b = float(input()) 
c = float(input()) 

t = (1/2)*((a-b)+(a-c))
b = math.sqrt(((a-b)**2)+((a-c)*(b-c)))
r = math.acos(t/b)/math.pi*180
x = int(360-r)
print(x)
# 1496582 (100%)
import math

a = float(input()) 
b = float(input()) 
c = float(input()) 

t = (1/2)*((a-b)+(a-c))
b = math.sqrt(((a-b)**2)+((a-c)*(b-c)))
r = math.acos(t/b)
r = math.degrees(r)
x = int(360-r)
print(x)

6432048021
# 1496850 (0%)
a = float(input())
b = float(input()) 
c = float(input())
import math
k = math.acos(((0.5)*((a-b)+(a-c)))/((((a-b)**2)+(a-b)*(b-c))**0.5))
x = int(360-math.degrees(k))
print(x)
# 1496956 (100%)
a = float(input())
b = float(input()) 
c = float(input())
import math
k = math.acos((1/2*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+(a-c)*(b-c))))
x = int(360-math.degrees(k))
print(x)

6432049721
# 1496140 (100%)
import math

a=float(input())
b=float(input())
c=float(input())
theta=math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+((a-c)*(b-c))))
x=int(360-math.degrees(theta))
print(x)


6432050221
# 1496768 (100%)
import math

a=float(input())
b=float(input())
c=float(input())

seta=math.acos(1/2*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))


x=int(360-math.degrees(seta))
print(x)

6432053121
# 1496472 (100%)
import math
a = float(input(""))
b = float(input(""))
c = float(input(""))
x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y = math.degrees(x)
print(int(360-y))

6432054821
# 1496379 (100%)
import math
def seta(a,b,c):
  w = a-b
  y = a-c
  z = b-c
  s = math.acos(0.5*(w+y)/ math.sqrt(w**2+(y*z)))
  return s
a = float(input())
b = float(input())
c = float(input())
x = int(360-math.degrees(seta(a,b,c)))
print(x)

6432056021
# 1496106 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2 + (a-c)*(b-c))**0.5))
thetade = int(math.degrees(theta))
print(360-thetade)
# 1496154 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2 + (a-c)*(b-c))**0.5))
thetade = math.degrees(theta)
print(int(360-thetade))

6432057721
# 1496139 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
d1 = 0.5 * ((a-b)+(a-c))
d2 = math.sqrt((a-b)**2 + (a-c)*(b-c))
acos = math.acos(d1/d2)
degree = math.degrees(acos)
x = int(360-degree)
print(x)

6432058321
# 1496172 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos(0.5*(a-b+a-c)/math.sqrt((a-b)**2+(a-c)*(b-c)))

x = int(360-math.degrees(s))

print(x)
# 1496375 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((1/2)*(a-b+a-c)/math.sqrt((a-b)**2+(a-c)*(b-c)))

x = int(360-math.degrees(s))

print(x)

6432060521
# 1496583 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
a1=(1/2)*((a))
corner=math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((math.pow(a-b,2))+(a-c)*(b-c)))
print(360-math.floor(math.degrees(corner)))
# 1496629 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
a1=(1/2)*((a))
corner=math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((math.pow(a-b,2))+(a-c)*(b-c)))
print(360-math.floor(math.degrees(corner)))
# 1496711 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
a1=(1/2)*((a))
corner=math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((math.pow(a-b,2))+(a-c)*(b-c)))
print(360-math.degrees(corner))

# 1496771 (100%)
import math
a = float(input(""))
b = float(input(""))
c = float(input(""))
x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y = math.degrees(x)
print(int(360-y))

6432061121
# 1496706 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y = math.degrees(x)
print(int(360-y))

6432062821
# 1496808 (100%)
import math
a = float(input(""))
b = float(input(""))
c = float(input(""))
x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y = math.degrees(x)
print(int(360-y))

6432063421
# 1496371 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
detha = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2 + (a-c)*(b-c))**0.5))
degree = math.degrees(detha)
x = int(360-degree)
print(x)


6432065721
# 1496323 (100%)
import math
a = float(input(""))
b = float(input(""))
c = float(input(""))
x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y = math.degrees(x)
print(int(360-y))

6432066321
# 1496109 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((1/2*(2a-b-c))/math.sqrt((a-b**2)+((a-c)*(b-c))))
x = int(360 - theta)
x = math.degrees(x)
# 1496123 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((1/2*(2a-b-c))/math.sqrt((a-b**2)+((a-c)*(b-c))))
x = int(360 - theta)
x = math.degrees(x)
print(x)
# 1496185 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((1/2*((2*a)-b-c))/math.sqrt((a-b**2)+((a-c)*(b-c))))
x = int(360 - theta)
x = math.degrees(x)
print(x)
# 1496246 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((1/2*((2*a)-b-c))/math.sqrt((a-b**2)+((a-c)*(b-c))))
x = int(360 - x = math.degrees(theta))
print(x)
# 1496270 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
theta = math.acos((1/2*((2*a)-b-c))/math.sqrt((a-b**2)+((a-c)*(b-c))))
x = int(360 - math.degrees(theta))
print(x)
# 1496380 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
theta = math.acos((1/2*((a-b)+(a-c)))/math.sqrt((a-b**2)+((a-c)*(b-c))))
x = int(360 - x = math.degrees(theta))
print(x)
# 1496411 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
theta = math.acos((1/2*((a-b)+(a-c)))/math.sqrt((a-b**2)+((a-c)*(b-c))))
x = int(360 - math.degrees(theta))
print(x)
# 1496516 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
theta = math.acos((1/2*((a-b)+(a-c)))/math.sqrt((a-b)**2)+((a-c)*(b-c))))
x = int(360 - math.degrees(theta))
print(x)
# 1496550 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
theta = math.acos((1/2*((a-b)+(a-c)))/math.sqrt((a-b)**2)+((a-c)*(b-c)))
x = int(360 - math.degrees(theta))
print(x)
# 1496644 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
theta = math.acos((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+((a-c)*(b-c))))
x = int(360 - math.degrees(theta))
print(x)
# 1496779 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
theta = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+((a-c)*(b-c))))
x = int(360 - math.degrees(theta))
print(x)

6432067021
# 1496134 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

upper = 0.5 * ((a-b) + (a-c))
lower = ((a-b)**2 + (a-c)*(b-c)) ** 0.5

zeta = math.acos(upper/lower)

x = int(360 - math.degrees(zeta))

print(x)

6432068621
# 1496616 (100%)
import math

a = int(input())
b=int(input())
c=int(input())

n= (0.5 *((a-b)+(a-c)))/((a-b)**2+(a-c)*(b-c))**0.5

seta = math.acos(n)
x=int(360 - math.degrees(seta))
print(x)
# 1496673 (100%)
import math

a = int(input())
b=int(input())
c=int(input())

n=(0.5 *((a-b)+(a-c)))/((a-b)**2+(a-c)*(b-c))**0.5

seta = math.acos(n)
x=int(360 - math.degrees(seta))
print(x)

6432072021
# 1496100 (100%)
import math

a = float(input())
b = float(input())
c = float(input())
upper = 0.5 * ((a-b) + (a-c))
lower = math.sqrt((a-b)**2 + (a-c)*(b-c))
rad = math.acos(upper/lower)
deg = math.degrees(rad)
x = int(360-deg)
print(x)

6432075021
# 1496466 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

m = (1/2 * ((a-b)+(a-c))) / (math.sqrt((a-b)**2 + (a-c) * (b-c)))

acos = math.acos(m)
degree = math.degrees(acos)

print(int(360-drgree))
# 1496496 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

m = (1/2 * ((a-b)+(a-c))) / (math.sqrt((a-b)**2 + (a-c) * (b-c)))

acos = math.acos(m)
degree = math.degrees(acos)

print(int(360-degree))
# 1496692 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

m = (1/2 * ((a-b)+(a-c))) / (math.sqrt((a-b)**2 + (a-c) * (b-c)))

acos = math.acos(m)
degree = math.degrees(acos)

print(int(360-degree))

6432076621
# 1496560 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
degree=math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
x=int(360-math.degrees(degree))
print(x)

6432079521
# 1496543 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
d =(1/2)*((a-b)+(a-c))
e =math.sqrt((a-b)**2+(a-c)*(b-c))
arccos =math.degrees(math.acos(d/e))
x =int(360-arccos)
print(x)

6432080021
# 1496694 (100%)

import math

a = float(input())
b = float(input())
c = float(input())
m = 1/2*((a-b)+(a-c))/(math.sqrt((a-b)**2+(a-c)*(b-c)))
z = math.acos(m)
t = math.degrees(z)
x = int(360-t)
print(x)


6432081721
# 1496114 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = 360-math.degrees(x)
print("{:.0f}".format(result))
# 1496130 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = 360-math.degrees(x)
print(round(result,0))
# 1496201 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))

6432084621
# 1496563 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

d = math.acos((0.5*(2*a-b-c))/math.sqrt((a-b)**2 + (a-c)*(b-c)))

d = math.degrees(d)

x = int(360-d)

print(x)

6432087521
# 1496482 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

x = math.degrees(math.acos((0.5*(2*a - b -c)/math.sqrt((a - b)**2 + (a - c)*(b - c))))) 
print(int(360-x))
# 1496639 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

D = 1/2*((a-b)+(a-c))
T = math.sqrt((a-b)**2+((a-c)*(b-c)))
theta = math.acos(D/T)
theta = math.degrees(theta)
x = int(360- theta)

print()
# 1496691 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

t = math.degrees(math.acos((0.5*(2*a - b -c)/math.sqrt((a - b)**2 + (a - c)*(b - c))))) 
print(int(360-t))
# 1496762 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

x = math.degrees(math.acos((0.5*(2*a - b -c)/math.sqrt((a - b)**2 + (a - c)*(b - c))))) 
print(int(360-x))

6432089821
# 1496997 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
A = 0.5*((a-b)+(a-c))
B = ((a-b)**2 +(a-c)*(b-c))**0.5
m = math.degrees(math.acos(A/B))
x = int(360-m)
print(x)

6432091021
# 1496266 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
y=math.degrees(math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))) 
x=int(360-y)
print(x)

6432092621
# 1496679 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
nuti = math.degrees(math.acos((0.5*(2*a - b -c)/math.sqrt((a - b)**2 + (a - c)*(b - c))))) 
print(int(360- nuti ))

6432095521
# 1496146 (0%)
import math
a = input()
b = input()
c = input()
note = (1/2((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))
Ans = math.degrees(math.acos(note))
x = int(360-Ans)
print(x)
# 1496191 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
note = (1/2((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))
Ans = math.degrees(math.acos(note))
x = int(360-Ans)
print(x)
# 1496463 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
note = (1/2*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))
Ans = math.degrees(math.acos(note))
x = int(360-Ans)
print(x)

6432097821
# 1496596 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
d= math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
r= int(360-math.degrees(d))
print(r)

6432099021
# 1496666 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

theta = math.degrees( math.acos ( ( (1/2)*( (a-b) + (a-c) ) ) / math.sqrt( (a-b)**2 + (a-c)*(b-c) ) ) )
x = int(360-theta)

print(x)


6432100021
# 1496838 (0%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos(((0.5)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y= math.degreees(x)
print(int(360-y))
# 1496870 (0%)
import math
a= float(input(""))
b= float(input(""))
c= float(input(""))
x= math.acos(((0.5)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y= math.degreees(x)
print(int(360-y))
# 1496891 (100%)
import math
a= float(input(""))
b= float(input(""))
c= float(input(""))
x= math.acos(((0.5)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y= math.degrees(x)
print(int(360-y))
# 1496915 (100%)
import math
a= float(input())
b= float(input())
c= float(input())
x= math.acos(((0.5)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y= math.degrees(x)
print(int(360-y))

6432103921
# 1496238 (0%)
import math
x = int (360 - math.degrees(x) )
return math.acos(1/2((a-b) + (a-c))/(math.sqrt(a-b)***2+(a-c)*(b-c))
# 1496486 (0%)
import math
x = int (360 - math.degrees(x))
e = a-b
r = a-c
t = b-c
return math.acos(1/2(e + r)/(math.sqrt(e)***2+(r*(t))

# 1496602 (0%)
import math
x = int (360 - math.degrees(x))
e = a-b
r = a-c
t = b-c
return math.acos 1/2(e + r)/math.sqrt(e)**2+(r*(t))
# 1496685 (0%)
import math
x = int (360 - math.degrees(x))
e = a-b
r = a-c
t = b-c
y = 1/2(e + r)/math.sqrt(e)**2+(r*(t))
return math.acos(y)
# 1496741 (0%)
import math
x = int (360 - math.degrees(x))
e = a-b
r = a-c
t = b-c
x = 1/2(e + r)/math.sqrt(e)**2+(r*(t))
return math.acos(x)
# 1496873 (0%)
`import math

a = float(input())
b = float(input())
c = float(input())

t = math.degrees(math.acos((0.5*(2*a - b -c)/math.sqrt((a - b)**2 + (a - c)*(b - c))))) 
print(int(360-t))`
# 1496881 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

t = math.degrees(math.acos((0.5*(2*a - b -c)/math.sqrt((a - b)**2 + (a - c)*(b - c))))) 
print(int(360-t))

6432104521
# 1496308 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
k = math.acos((0.5*(a-b+a-c))/((a-b)**2+(a-c)*(b-c))**0.5)
r = math.degrees(k)
x = int(360 - r)
print(x)


6432106821
# 1496113 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

d = (0.5*(a-b+a-c))/(math.sqrt((a-b)**2+(a-c)*(b-c)))
theta = math.degrees(math.acos(d))
x = int(360-theta)
print(x)

6432107421
# 1496668 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

t = math.acos(0.5*(a-b+a-c)/math.sqrt((a-b)**2+(a-c)*(b-c)))

x = int(360-math.degrees(t))
print(x)

6432108021
# 1496265 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
radian = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
zeta = math.degrees(radian)
print(int(360-zeta))

6432109721
# 1496450 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
x = math.degrees(math.acos((((a-b)+(a-c))/2)/math.sqrt((a-b)**2+((a-c)*(b-c)))))
y = int(360-x)
print (y)


6432112521
# 1496495 (100%)
import math
a = float(input(""))
b = float(input(""))
c = float(input(""))
x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y = math.degrees(x)
print(int(360-y))

6432113121
# 1496440 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
d = ((1/2)*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+((a-c)*(b-c))))
e = math.acos(d)
f = math.degrees(e)
x = int(360 - f)
print(x)


6432115421
# 1496124 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

d = 0.5 * (a-b+a-c)
e = math.sqrt(((a-b)**2) + ((a-c)*(b-c)))

arccos = math.degrees(math.acos(d/e))

x = int(360 - arccos)

print(x)

6432116021
# 1496726 (100%)
import math;

a=float(input())
b=float(input())
c=float(input())

y= math.acos((1/2)*((a-b)+(a-c))/(math.sqrt(((a-b)**2+((a-c)*(b-c))))))
            
x= int(360-math.degrees(y))

print(x)


6432118321
# 1496709 (0%)
a = input()
b = input()
c = input()

import math
p = (1/2)*((int(a)-int(b))+(int(a)-int(c)))
q = (int(a)-int(b))**2+(int(a)-int(c))(int(b)-int(c))
radian = math.acos(p/(q)**(1/2))
Ans = math.degrees(radian)
x = int(360-Ans)
print (x)
# 1496875 (0%)
a = int(input())
b = int(input())
c = int(input())

import math
p = (1/2)*((int(a)-int(b))+(int(a)-int(c)))
q = (int(a)-int(b))**2+(int(a)-int(c))(int(b)-int(c))
radian = math.acos(p/(q)**(1/2))
Ans = math.degrees(radian)
x = int(360-Ans)
print (x)
# 1496920 (100%)
a = input()
b = input()
c = input()

import math
p = (1/2)*((int(a)-int(b))+(int(a)-int(c)))
q = (int(a)-int(b))**2+(int(a)-int(c))*(int(b)-int(c))
radian = math.acos(p/(q)**(1/2))
Ans = math.degrees(radian)
x = int(360-Ans)
print (x)

6432119021
# 1496186 (0%)
import math

a=float(input())
b=float(input())
c=float(input())
exp1=0.5*((a-b)+(a-c))
exp2=math.sqrt(((a-b)**2)+(a-c)*(b-c))
theta=math.acos(exp1/exp2)
degree=math.degrees(theta)
x=int(360-degree)
ptint(x)
# 1496248 (100%)
import math

a=float(input())
b=float(input())
c=float(input())
exp1=0.5*((a-b)+(a-c))
exp2=math.sqrt(((a-b)**2)+(a-c)*(b-c))
theta=math.acos(exp1/exp2)
degree=math.degrees(theta)
x=int(360-degree)
print(x)

6432120521
# 1496489 (100%)
a = int(input())
b = int(input())
c = int(input())
import math
x1= 1/2*((a-b)+(a-c))
x2= math.sqrt(((a-b)**2)+(a-c)*(b-c))
P = math.acos(x1/x2)
V = math.degrees(P)
x = int(360 - V)
print(x)

6432121121
# 1496281 (0%)
a=float(input())
b=float(input())
c=float(input())
e1 = (a-b)+(a-c)
e2 = (a-b)**2
e3 = (a-c)*(b-c)
s = (e2+e3)**0.5
t= (0.5**e1)/s
import math
r = math.acos(t)
d= math.degrees(r)
x=int(360-d)
print(x)
# 1496492 (100%)
a=float(input())
b=float(input())
c=float(input())
e1 = (a-b)+(a-c)
e2 = (a-b)**2
e3 = (a-c)*(b-c)
s = (e2+e3)**0.5
t= (0.5*e1)/s
import math
r = math.acos(t)
d= math.degrees(r)
x=int(360-d)
print(x)

6432122821
# 1496253 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

d = (0.5*((a-b)+(a-c)))
e = math.sqrt(((a-b)**2)+((a-c))*(b-c))
zeta = math.acos(d/e)
x = math.degrees(zeta)
print(int(360-x))

6432123421
# 1496556 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
th = math.acos(0.5*(a-b+a-c)/math.sqrt((a-b)**2+(a-c)*(b-c)))
x=int(360-math.degrees(th))
print(x)

6432128621
# 1496282 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

sum = (1/2*((a-b)+(a-c)))/(((a-b)**2 + (a-c)*(b-c))**1/2)
o = math.acos(sum)
x = int(360-math.degrees(o))

print(x)
# 1496381 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

sum = (1/2*((a-b)+(a-c)))/(((a-b)**2 + (a-c)*(b-c))**1/2)
o = math.acos(sum)
x = int(360-math.degrees(o))

print(x)
# 1496405 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

sum = ((1/2)*(a-b+a-c))/(((a-b)**2 + (a-c)*(b-c))**(1/2))
o = math.acos(sum)
x = int(360-math.degrees(o))

print(x)
# 1496568 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

sum = ((1/2)*(a-b+a-c))/(((a-b)**2+(a-c)*(b-c))**(1/2))
o = math.acos(sum)
x = int(360-math.degrees(o))

print(x)

6432129221
# 1496208 (0%)
def arccos(a,b,c):
    a = input()
    b = input()
    c = input ()
    x = ((a-b)**2)+((a-c)*(b-c))
    y = ((1/2)*((a-b)+(a-c)))/(math.sqrt(x))
    degree_rad = math.acos(y)
    degree = math.degrees(degree.rad)
    x = int(360 - degree)
    print x
    
arccos(a,b,c)
# 1496316 (0%)

a = input('')
b = input('')
c = input ('')

x = ((a-b)**2)+((a-c)*(b-c))

y = ((1/2)*((a-b)+(a-c)))/(math.sqrt(x))

degree_rad = math.acos(y)
degree = math.degrees(degree.rad)
x = int(360 - degree)
print x
# 1496354 (0%)
import math

a = input('')
b = input('')
c = input ('')

x = ((a-b)**2)+((a-c)*(b-c))

y = ((1/2)*((a-b)+(a-c)))/(math.sqrt(x))

degree_rad = math.acos(y)
degree = math.degrees(degree.rad)
x = int(360 - degree)
print x
# 1496374 (0%)
import math

a = input()
b = input()
c = input ()

x = ((a-b)**2)+((a-c)*(b-c))

y = ((1/2)*((a-b)+(a-c)))/(math.sqrt(x))

degree_rad = math.acos(y)
degree = math.degrees(degree.rad)
x = int(360 - degree)
print x
# 1496442 (0%)
import math

a = input()
b = input()
c = input ()

x = ((a-b)**2)+((a-c)*(b-c))

y = ((1/2)*((a-b)+(a-c)))/(math.sqrt(x))

degree_rad = math.acos(y)
degree = int(math.degrees(degree.rad))
x = int(360 - degree)
print x
# 1496538 (0%)
import math

a = int(input())
b = int(input())
c = int(input ())

x = ((a-b)**2)+((a-c)*(b-c))

y = ((1/2)*((a-b)+(a-c)))/(math.sqrt(x))

degree_rad = math.acos(y)
degree = math.degrees(degree.rad)
x = int(360 - degree)
print x
# 1496626 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

A = 0.5*((a-b)+(a-c))
B = (a-b)**2
C = (a-c)*(b-c)
D = B + C
E = math.sqrt(D)
F = A/E
X = math.acos(F)

X = math.degrees(X)

x = int(360-X)

print(x)
# 1496802 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

A = (1/2)*((a-b)+(a-c))
B = (a-b)**2
C = (a-c)*(b-c)
D = B + C
E = math.sqrt(D)
F = A/E
X = math.acos(F)

X = math.degrees(X)

ans = int(360-X)

print(ans)
# 1496999 (100%)
import math
a = int(input())
b = int(input())
c = int(input ())

x = ((a-b)**2)+((a-c)*(b-c))

y = ((1/2)*((a-b)+(a-c)))/(math.sqrt(x))

degree_rad = math.acos(y)
degree = math.degrees(degree_rad)
x = int(360 - degree)
print(x)


6432131421
# 1496142 (100%)
import math
a=float(input())
b=float(input())
c=float(input())

up = 0.5*((a-b)+(a-c))
dw = ((a-b)**2 +(a-c)*(b-c))**0.5
ac = math.acos(up/dw)

ans = int(360 - math.degrees(ac))
print(ans)

# 1496196 (100%)
import math
a=float(input())
b=float(input())
c=float(input())

up = 0.5*((a-b)+(a-c))
dw = ((a-b)**2 +(a-c)*(b-c))**0.5

ac = math.acos(up/dw)
ans = int(360 - math.degrees(ac))

print(ans)

6432134321
# 1496361 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
x=math.degrees(math.acos((0.5*(a-b+a-c))/(math.sqrt(((a-b)**2)+((a-c)*(b-c))))))
x=int(360-x)
print(x)

6432135021
# 1496413 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
rad = math.acos((1/2*((a-b)+(a-c)))/(math.sqrt((a-b)**2)+(a-c)*(b-c)))
x = int(360-math.degrees(rad))
print(x)
# 1496699 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
rad = math.acos(((1/2*(a-b+a-c)))/(math.sqrt((a-b)**2)+(a-c)*(b-c)))
x = int(360-math.degrees(rad))
print(x)
# 1496971 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
rad = math.acos(((1/2*(a-b+a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c)))
x = int(360-math.degrees(rad))
print(x)
# 1496994 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
rad = math.acos(((1/2*(a-b+a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x = int(360-math.degrees(rad))
print(x)

6432136621
# 1496214 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

ceta = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2)+(a-c)*(b-c)))
degree = math.degrees(ceta)
x = int(360-degree)
print(x)
# 1496277 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

ceta = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2)+(a-c)*(b-c))**0.5)
degree = math.degrees(ceta)
x = int(360-degree)
print(x)

6432139521
# 1496548 (0%)
import math as m
a = float(input())
b = float(input())
c = float(input())
x = m.acos(((0.5)*((a-b)+(a-c)))/m.sqrt(((a-b)**2)+((a-c)*(b-c))))
print("%0.f"%(360-m.degrees(x)))

# 1496628 (100%)
import math as m
a = float(input())
b = float(input())
c = float(input())
x = m.acos(((0.5)*((a-b)+(a-c)))/m.sqrt(((a-b)**2)+((a-c)*(b-c))))
print(int(360-m.degrees(x)))

6432140021
# 1496198 (100%)
import math
a= float(input())
b= float(input())
c= float(input())
ans = math.acos((1/2)*(a-b+a-c)/(((a-b)**2+(a-c)*(b-c))**0.5))
ans = math.degrees(ans)
ans = int(360-ans)
print(ans)

6432143021
# 1496570 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
i = a-b
w = a-c
k = b-c
be = math.sqrt(i**2+(w*k))
sa = math.acos((1/2*(i+w))/be)
sa = math.degrees(sa)
x = int(360-sa)
print(x)

6432146921
# 1496537 (100%)
import math

a = float(input())
b = float(input())
c = float(input())
q = (0.5*((a-b)+(a-c)))
e = math.sqrt(((a-b)**2)+((a-c)*(b-c))) 
theta = math.acos(q/e)
x = int(360-math.degrees(theta))
print(x)

6432147521
# 1496211 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
theta=math.acos(((1/2)*((a-b)+(a-c)))/(((a-b)**2)+(a-c)*(b-c))**(1/2))
x=int(360-math.degrees(theta))
print(x)

6432148121
# 1496155 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
up=((a-b)+(a-c))/2
z=((a-b)**2)+((a-c)*(b-c))
down=z**(1/2)
ra=math.acos(up/down)
de=math.degrees(ra)
x=int(360-de)
print(x)

6432150321
# 1496432 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

theta_rad = math.acos(((1/2)*((a - b)+(a - c)))/((math.sqrt(((a - b)**2) + ((a - c)*(b - c))))))

theta_deg = math.degrees(theta_rad)

x = int(360 - theta_deg)
print(x)

6432151021
# 1496488 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
x= math.degrees(math.acos((0.5*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+((a-c)*(b-c))))))
print(int(360-x))


6432153221
# 1496312 (0%)
import math
A = int(input())
B = int(input())
C = int(input())

X = math.cos((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c))
Y = math.degrees(X)
Z = int(360-Y)
# 1496444 (0%)
import math
A = float(input())
B = float(input())
C = float(input())

X = math.cos((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c))
Y = math.degrees(X)
Z = int(360-Y)
print(Z)
# 1496557 (0%)
import math
A = float(input())
B = float(input())
C = float(input())

X = math.cos((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c))
Z = int(360-math.degrees(X))
print(Z)
# 1496591 (0%)
import math
A = float(input())
B = float(input())
C = float(input())

X = math.acos((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c))
Z = int(360-math.degrees(X))
print(Z)
# 1496671 (0%)
import math
A =float(input())
B =float(input())
C =float(input())

X =math.acos((1/2)*((a-b)+(a-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c))
Z =int(360-math.degrees(X))
print(Z)
# 1496740 (0%)
import math
a =float(input())
b =float(input())
c =float(input())

X =math.acos((1/2)*((a-b)+(a-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c))
Z =int(360-math.degrees(X))
print(Z)
# 1496854 (0%)
import math
a =float(input())
b =float(input())
c =float(input())

x =math.acos((1/2)*((a-b)+(a-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c))
z =int(360-math.degrees(x))
print(z)
# 1496917 (100%)
import math
a1=float(input())
a2=float(input())
a3=float(input())

n= math.acos((1/2)*((a1-a2)+(a1-a3))/math.sqrt(((a1-a2)**2+((a1-a3)*(a2-a3)))))
X= int(360-math.degrees(n))
print(X)

6432155521
# 1496103 (0%)
import.math
a = float(input())
b = float(input())
c = float(input())
x = math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt(((a-b)^2)+(a-c)*(b-c))))
print(x)

# 1496132 (0%)
import.math
a = int(input())
b = int(input())
c = int(input())
x = math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt(((a-b)^2)+(a-c)*(b-c))))
print(x)
# 1496162 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
x = math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt(((a-b)^2)+(a-c)*(b-c))))
print(x)
# 1496362 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
y = math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+((a-c)*(b-c)))))
z = math.degrees(y)
x = 360-z
print(x)

# 1496378 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
y = math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+((a-c)*(b-c)))))
z = math.degrees(y)
x = 360-z
print(x)
# 1496429 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
y = math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+((a-c)*(b-c)))))
z = math.degrees(y)
x = int(360-z)
print(x)

6432158421
# 1496091 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

fracTop = 1/2*((a-b)+(a-c))
fracBot = math.sqrt((a-b)**2+(a-b)*(a-c))


theta = math.acos(fracTop/fracBot)

x = int(360-math.degrees(theta))
# 1496157 (0%)
import math

a = input()
b = input()
c = input()

a = float(a)
b = float(b)
c = float(c)

fracTop = 1/2*((a-b)+(a-c))
fracBot = math.sqrt((a-b)**2+(a-b)*(a-c))


theta = math.acos(fracTop/fracBot)

x = int(360-math.degrees(theta))
print(x)
# 1496203 (100%)
import math

a = input()
b = input()
c = input()

a = float(a)
b = float(b)
c = float(c)

fracTop = 1/2*((a-b)+(a-c))
fracBot = math.sqrt((a-b)**2+(a-c)*(b-c))


theta = math.acos(fracTop/fracBot)

x = int(360-math.degrees(theta))
print(x)

6432160621
# 1496743 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((0.5((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)(b-c)))

x = int(360 - math.degrees(s))

print(x)
# 1496767 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((0.5((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)(b-c)))

x = int(360 - math.degrees(s))

print(x)
# 1496882 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
x = math.acos(((1/2)((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)(b-c)))
y = math.degrees(x)
print(int(360-y))
# 1496907 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
x = math.acos(((1/2)*8((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)**(b-c)))
y = math.degrees(x)
print(int(360-y))
# 1496926 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((0.5((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)(b-c)))

x = int(360 - math.degrees(s))

print(x)
# 1496940 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((0.5**((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)**(b-c)))

x = int(360 - math.degrees(s))

print(x)
# 1496964 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((0.5**((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)**(b-c)))

x = int(360 - math.degrees(s))

print(x)
# 1496978 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)*2+(a-c)*(b-c)))

x = int(360 - math.degrees(s))

print(x)
# 1496986 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))

x = int(360 - math.degrees(s))

print(x)

6432161221
# 1496165 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

t1 = 0.5*((a-b) + (a-c))
t2 = ((a-b)**2 + ((a-c)*(b-c)))**0.5

deg = math.acos(t1/t2)
rad = math.degrees(deg)

x = int(360 - rad)
print(x)

# 1496383 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

t1 = 0.5*((a-b) + (a-c))
t2 = ((a-b)**2 + ((a-c)*(b-c)))**0.5

deg = math.acos(t1/t2)
rad = math.degrees(deg)

x = int(360 - rad)
print(x)

6432163521
# 1496152 (0%)
#quizweek2
import math

a = float(input())
b = float(input())
c = float(input())

exp1 = ((a-b) + (a-c))/2
exp2 = (a-b)**2 + (a-c)*(b-c)
exp2 = math.sqrt(exp2)
inside_arccos = exp1*exp2

theta = math.acos(inside_arccos)
theta = math.degrees(theta)

x = int(360 - theta)
print(x)
# 1496271 (100%)
#quizweek2
import math

a = float(input())
b = float(input())
c = float(input())

exp1 = ((a-b) + (a-c))/2
exp2 = (a-b)**2 + (a-c)*(b-c)
exp2 = math.sqrt(exp2)
inside_arccos = exp1/exp2

theta = math.acos(inside_arccos)
theta = math.degrees(theta)

x = int(360 - theta)
print(x)

6432164121
# 1496584 (0%)
import math

a = float(input())
b = float(input())
c = float(input())
d1 = 1/2*((a-b)+(a-c))
d2 = (a-b)**2+((a-c)*(b-c))
d = math.acos(d1/(math.sqrt(d2)))
d3 = int(math.degrees(d))
x = int(360-d3)
print(int(x))
# 1496611 (100%)
import math

a = float(input())
b = float(input())
c = float(input())
d1 = 1/2*((a-b)+(a-c))
d2 = (a-b)**2+((a-c)*(b-c))
d = math.acos(d1/(math.sqrt(d2)))
d3 = math.degrees(d)
x = int(360-d3)
print(int(x))

6432165821
# 1496313 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
up=(2*a-b-c)/2
down1=(a-b)**2
down2=(a-c)*(b-c)
down=math.sqrt(down1+down2)
e=up/down
t=math.acos(e)
x=int(360-math.degrees(t))
# 1496331 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
up=(2*a-b-c)/2
down1=(a-b)**2
down2=(a-c)*(b-c)
down=math.sqrt(down1+down2)
e=up/down
t=math.acos(e)
x=int(360-math.degrees(t))
print(x)

6432166421
# 1496221 (100%)
import math
a=float(input())
b=float(input())
c=float(input())
y=(a-b/2-c/2)/math.sqrt((a-b)**2+(a-c)*(b-c))
z=math.acos(y)
k=math.degrees(z)
x=360-k
print(int(x))

6432167021
# 1496751 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos((0.5((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)(b-c)))

x = int(360 - math.degrees(s))

print(x)
# 1496837 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
y = math.degrees(x)
print(int(360-y))

6432168721
# 1496181 (100%)
import math
a = int(input())
b = int(input())
c = int(input())
s = ((1/2)*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c)))
teta = math.acos(s)
x = int(360-math.degrees(teta))
print(x)

6432170921
# 1496513 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

cal = (0.5*((a-b)+(a-c)))/((a-b)**2+((a-c)*(b-c)))**(0.5)
radi = math.acos(cal)
degree = math.degrees(radi)
x = int(360-degree)
print(x)




6432174421
# 1496148 (100%)
import math
a=int(input())
b=int(input())
c=int(input())
upper = 0.5*((a-b)+(a-c))
lower = ((a-b)**2+((a-c)*(b-c)))**0.5
innner = upper/lower
radian = math.acos(innner)
degree = math.degrees(radian)
X=int(360-degree)
print(X)

6432176721
# 1496439 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
m = 1/2*((a-b)+(a-c))
n = math.sqrt((a-b)**2+(a-c)*(b-c))
z = math.acos(m/n)
x = int(360-math.degree(z))
print (x)
# 1496484 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
m = 1/2*((a-b)+(a-c))
n = math.sqrt((a-b)**2+(a-c)*(b-c))
z = math.acos(m/n)
x = int(360-math.degrees(z))
print (x)

6432178021
# 1496562 (100%)
import math

a = float(input())
b = float(input())
c = float(input())
x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
n = int(360-math.degrees(x))
print(n)

6432181821
# 1496604 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

s1 = a-b
s2 = b-c
s3 = a-c
s4 = (s1+s3)/2
s5 = ((s1**2)+(s3*s2))**0.5
s6 = s4/s5
s = math.acos(s6)
degrees = math.degrees(s)
print(int(360-degrees))

6432182421
# 1496661 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

thi = math.acos((1/2)*[(a-b)+(a-c)]/math.sqrt((a-b)**2+(a-c)(b-c))
math.degraee(thi)   
thira = int(360-thi)
                                              
print(thirad)
# 1496686 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

thi = math.acos((1/2)*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)(b-c))
math.degraee(thi)   
thira = int(360-thi)
                                              
print(thirad)
# 1496697 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

thi = math.acos((1/2)*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)(b-c))
math.degraee(thi)   
thira = int(360-thi)
                                              
print(thira)
# 1496750 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

thi = math.acos((1/2)*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)(b-c))
math.degrees(thi)   
thira = int(360-thi)
                                              
print(thira)
# 1496900 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

a222 = 0.5*((a-b) + (a-c))
b222 = ((a-b)**2 + ((a-c)*(b-c)))**0.5

asdsad = math.acos(a222/b222)
rad = math.degrees(asdsad)

x = int(360 - rad)
print(x)
# 1496961 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

a222 = 0.5*((a-b) + (a-c))
b222 = ((a-b)**2 + ((a-c)*(b-c)))**0.5

asdsad = math.acos(a222/b222)
rad = math.degrees(asdsad)

x = int(360 - rad)

print(x)

6432183021
# 1496115 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
upper = 0.5((a-b)+(a-c))
lower = math.sqrt(((a-b)**2)+(a-c)(b-c))
inside = upper - lower
xeta = (math.cos(inside))
x = int(360-xeta)
# 1496135 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
upper = 0.5((a-b)+(a-c))
lower = math.sqrt(((a-b)**2)+(a-c)(b-c))
inside = upper/lower
xeta = (math.cos(inside))
x = int(360-xeta)
# 1496173 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
upper = 0.5((a-b)+(a-c))
lower = math.sqrt(((a-b)**2)+(a-c)(b-c))
inside = upper/lower
xeta = (math.cos(inside))**(-1)
x = int(360-xeta)
# 1496227 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
upper = 0.5((a-b)+(a-c))
lower = math.sqrt(((a-b)**2)+(a-c)(b-c))
inside = upper/lower
xeta = (math.acos(inside))
xeta2 = math.degrees(xeta)
x = int(360-xeta2)
# 1496400 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
upper = 0.5((a-b)+(a-c))
lower = math.sqrt(((a-b)**2)+(a-c)(b-c))
inside = upper/lower
xeta = math.acos(inside)
xeta2 = math.degrees(xeta)
x = int(360-xeta2)

return x
# 1496441 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
upper = 0.5((a-b)+(a-c))
lower = math.sqrt(((a-b)**2)+(a-c)(b-c))
inside = upper/lower
xeta = math.acos(inside)
xeta2 = math.degrees(xeta)
x = int(360-xeta2)

print(x)
# 1496449 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
upper = 0.5((a-b)+(a-c))
lower = math.sqrt(((a-b)**2)+(a-c)(b-c))
inside = upper/lower
xeta = math.acos(inside)
xeta2 = math.degrees(xeta)
x = int(360-xeta2)

print(x)
# 1496621 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

m = (1/2*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c)))

radians = math.acos(m)
degree = math.degrees(radians)

print(int(360-degree))

6432185321
# 1496111 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = 360-math.degrees(x)
print("{:.0f}".format(result))
# 1496116 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = 360-math.degrees(x)

# 1496216 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))
# 1496274 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*(2a-b-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))
# 1496280 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))
# 1496490 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))

6432186021
# 1496546 (100%)
import math
a=float(input())
b=float(input())
c=float(input())

m= math.acos((1/2)*((a-b)+(a-c))/math.sqrt(((a-b)**2+((a-c)*(b-c)))))
x= int(360-math.degrees(m))
print(x)

6432189921
# 1496736 (100%)
import math
a = float(input())

b = float(input())

c = float(input())

x = (1/2)*((a-b)+(a-c)) / math.sqrt((a-b)**2 + (a-c)*(b-c))

s = math.acos(x)
y = math.degrees(s)
print( int(360-y) )

6432190421
# 1496222 (100%)
import math

a = float(input())
b = float(input())
c = float(input())
up = (1/2)*((a-b)+(a-c))
down = math.sqrt((a-b)**2+((a-c)*(b-c)))
seta = math.acos(up/down)
x = int(360-math.degrees(seta))
print (x)

6432192721
# 1496290 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
d = (a-b)+(a-c)
e = (a-b)**2
f = math.sqrt(e+((a-c)*(b-c)))
g = ((1/2)*d)/f
h = math.acos(g)
x = 360 - math.degrees(h)
print(x)
# 1496416 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
d = (a-b)+(a-c)
e = (a-b)**2
f = math.sqrt(e+((a-c)*(b-c)))
g = ((1/2)*d)/f
h = math.acos(g)
x = 360 - math.degrees(h)
int(x)
print(x)
# 1496554 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
d = (a-b)+(a-c)
e = (a-b)**2
f = math.sqrt(e+((a-c)*(b-c)))
g = ((1/2)*d)/f
h = math.acos(g)
x = 360 - math.degrees(h)
x = int(m)
print(m)

# 1496704 (100%)
import math
a = float(input())
b = float(input())
c = float(input())
d = (a-b)+(a-c)
e = (a-b)**2
f = math.sqrt(e+((a-c)*(b-c)))
g = ((1/2)*d)/f
h = math.acos(g)
x = int(360 - math.degrees(h))
print(x)

6432193321
# 1496457 (0%)
import math

a = float(input())
b = float(input())
c = float(input())


top = ((1/2)*((a-b)+(a-c)))
bot = (((a-b)**2)+((a-c)*(b-c)))*(1/2)
seta = math.acos(top/bot)
x = int(360 - (math.degrees(seta)))

print(x)
# 1496534 (100%)
import math

a = float(input())
b = float(input())
c = float(input())


top = ((1/2)*((a-b)+(a-c)))
bot = (((a-b)**2)+((a-c)*(b-c)))**(1/2)
seta = math.acos(top/bot)
x = int(360 - (math.degrees(seta)))

print(x)

# 1496774 (100%)
import math

a = float(input())
b = float(input())
c = float(input())


top = ((1/2)*((a-b)+(a-c)))
bot = (((a-b)**2)+((a-c)*(b-c)))**(1/2)
seta = math.acos(top/bot)
x = int(360 - (math.degrees(seta)))

print(x)

6432197921
# 1496395 (0%)
import math

a = input()
b = input()
c = input()

q = math.acos(   (1/2*((a-b)+(a+b))) /  math.sqrt((a-b)**2 + (a-c)*(b-c))    )
x = 360 - math.degerees(q)
print(x)

# 1496734 (100%)
import math

a = int(input())
b = int(input())
c = int(input())

q = math.acos(   (1/2*((a-b)+(a-c))) /  math.sqrt((a-b)**2 + (a-c)*(b-c))    )
x = int(360 - math.degrees(q))
print(x)


6432198521
# 1496141 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

upper = ((a-b)+(a-c))/2
lower = (((a-b)**2)+((a-c)(b-c)))**0.5
rad = math.acos(upper/lower)
deg = math.degrees(rad)

x = int(360-deg)

print(x)
# 1496285 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

upper = ((a-b)+(a-c))/2
lower = (((a-b)**2)+((a-c)*(b-c)))**0.5
rad = math.acos(upper/lower)
deg = math.degrees(rad)

x = int(360-deg)

print(x)

6432199121
# 1496954 (0%)
```import math

a = float(input())
b = float(input())
c = float(input())

fac = (1/2)*((a-b)+(a-c))
div = math.sqrt((a-b)**2 + (a-c)*(b-c))

theta = math.acos(fac/div)
print(int(360-math.degrees(theta)))

```
# 1496966 (0%)
```import math

a = float(input())
b = float(input())
c = float(input())

fac = (1/2)*((a-b)+(a-c))
div = math.sqrt((a-b)**2 + (a-c)*(b-c))

theta = math.acos(fac/div)
print(int(360-math.degrees(theta)))

# 1496975 (0%)
```import math

a = float(input())
b = float(input())
c = float(input())

fac = (1/2)*((a-b)+(a-c))
div = math.sqrt((a-b)**2 + (a-c)*(b-c))

theta = math.acos(fac/div)
print(int(360-math.degrees(theta)))
# 1496988 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

fac = (1/2)*((a-b)+(a-c))
div = math.sqrt((a-b)**2 + (a-c)*(b-c))

theta = math.acos(fac/div)
print(int(360-math.degrees(theta)))

6432200021
# 1496539 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

radian = math.acos(((1/2)*((a-b)+(a-c)))/(((a-b)**2+((a-c)*(b-c))))**0.5)
x = math.degrees(radian)
x = int(360-x)
print(x)



6432203021
# 1496859 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

x = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))

c = int(360-math.degrees(x))

print(c)

chate
# 1492345 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

s = (a-b)+(a-c)/2
t = (a-b)**2 +(a-b)*(a-c)

radian = math.acos(s/t**0.5)
degree = math.degrees(radian)

print(int(360-degree))
# 1492346 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

s = ((a-b)+(a-c))/2
t = (a-b)**2 +(a-b)*(a-c)

radian = math.acos(s/t**0.5)
degree = math.degrees(radian)

print(int(360-degree))
# 1492347 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

s = ((a-b)+(a-c))/2
t = (a-b)**2 +(a-b)*(a-c)

radian = math.acos(s/(t**2))
degree = math.degrees(radian)

print(int(360-degree))
# 1492348 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

s = ((a-b)+(a-c))/2
t = (a-b)**2 +(a-b)*(b-c))

radian = math.acos(s/(t**2))
degree = math.degrees(radian)

print(int(360-degree))
# 1492349 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

s = ((a-b)+(a-c))/2
t = (a-b)**2 +(a-b)*(b-c)

radian = math.acos(s/(t**2))
degree = math.degrees(radian)

print(int(360-degree))
# 1492350 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

s = ((a-b)+(a-c))/2
t = (a-b)**2 +(a-c)*(b-c)

radian = math.acos(s/(t**2))
degree = math.degrees(radian)

print(int(360-degree))
# 1492351 (100%)
import math
a = int(input())
b = int(input())
c = int(input())

s = ((a-b)+(a-c))/2
t = (a-b)**2 +(a-c)*(b-c)

radian = math.acos(s/(t**0.5))
degree = math.degrees(radian)

print(int(360-degree))

kiang
# 1492621 (100%)
import math
a = float(input())
b = float(input())
c = float(input())

top = 0.5 * ((a-b)+(a-c))
bottom = (((a-b)**2) + ((a-c)*(b-c))) ** 0.5
print(int(360-math.degrees(math.acos(top/bottom))))


punnarai
# 1492866 (100%)
a = int(input())
b = int(input())
c = int(input())
import math
theta = math.acos(1/2*((a-b)+(a-c))/math.sqrt((a-b)**2 + (a-c)*(b-c)))
x = 360 - math.degrees(theta)
# 
print(int(x))

somchai
# 1492405 (100%)
import math

a = float(input())
b = float(input())
c = float(input())
t = 1/2*((a-b)+(a-c))/(((a-b)**2+(a-c)*(b-c))**0.5)
x = int(360 - math.degrees(math.acos(t)))
print(x)

thanarat
# 1492009 (100%)
import math

a = float(input())
b = float(input())
c = float(input())

theta = math.acos((0.5*((a-b)+(a-c)))/((a-b)**2+(a-c)*(b-c))**0.5)

print(int(360-math.degrees(theta)))

Max Score = 0


6430173421
# 1496588 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

o = math.acos(0.5((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)(b-c)))
o = math.degrees(o)
x = int(360-o)

print(x)
# 1496631 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

o = math.acos(0.5((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)(b-c)))
o = math.degrees(o)
x = int(360-o)

print(x)
# 1496681 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

o = math.acos(0.5((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)(b-c)))
o = math.degrees(o)
x = int(360-o)

print(x)
# 1496752 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

o = math.acos(0.5((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)(b-c)))
o = math.degrees(o)
x = int(360-o)

print(x)

6430175721
# 1496760 (0%)
import math
a = input("a = ")
a = int(input("b = "))
a = int(input("c = "))

def math.acos(x):
  for i in range():
    
  return [(a-b)+(a-c)} / [(a-b)**2 + (a-c)*(b-c)]**1/2

6430179221
# 1496680 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
s = math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2+((a-c)*(b-c)))**1/2))
ceta = math.degrees(s)
x = int(360-ceta)
print(x)
# 1496733 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
y=(1/2)((a-b)+(a-c))/math.sqrt(((a-b)**2)+((a-c)(b-c)))
theta=math.degrees(math.acos(y))
x=int(360-theta)
print(x)
# 1496820 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
y=(1/2)((a-b)+(a-c))/math.sqrt(((a-b)**2)+((a-c)(b-c)))
theta=math.degrees(math.acos(y))
x=int(360-theta)
print(x)

6430180821
# 1496667 (0%)
import math

a=float(input())
b=float(input())
c=float(input())
d=math.acos((0.5*((a-b)+(a-c)))/(((a-b)**2)+((a-c)*(b-c)))**(1/2))
x=int(math.degrees(d))
y=360-x
print(y)

6430187221
# 1496725 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
e = (0.5*((a-b)+(a-c)))
f = (math.sqrt((a-b)**2+(a-c)(b-c)))
k = math.acos(e/f)
h = math.degrees(k)
z = int(360-h)
print(z)
# 1496836 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
e = (0.5*((a-b)+(a-c)))
f = (math.sqrt((a-b)**2+(a-c)(b-c)))
k = math.acos(e/f)
h = math.degree(k)
z = int(360-h)
print(z)

6430198121
# 1496703 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
A=0.5*(a-b)+(a-c)
B=(((a-b)**2)+((a-c)*(b-c)))**0.5
de=math.acos(A/B)
x=int(360-math.degrees(de))
print(x)


6430208821
# 1496498 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
y = math.acos((0.5*(a-b+a-c))/((((a-b)**2)+(a-b)*(b-c))**0.5))
z = math.degrees(y)
x = int(360-z)
print(x)


6430219721
# 1496121 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
z = math.acos(((1/2)((a-b) + (a-c))) / math.sqrt(((a-b)**2) + (a-c)*(b-c))
x = int(360 - z)
print(x)
# 1496174 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
z = math.acos(((1/2)((a-b) + (a-c))) / math.sqrt(((a-b)**2) + (a-c)*(b-c))
x = int(360 - z)
print(math.degree(x))
# 1496230 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
z = math.acos(((1/2)((a-b) + (a-c))) / math.sqrt(((a-b)**2) + (a-c)*(b-c))
x = int(360 - z)
print(math.degree (x) )
# 1496342 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
z = math.acos(((1/2)((a-b) + (a-c))) / math.sqrt(((a-b)**2) + (a-c)*(b-c))
x = int(360 - math.degree(z))
print(x)
# 1496425 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
z = math.acos(((1/2)((a-b) + (a-c))) / math.sqrt(((a-b)**2) + (a-c)*(b-c))
x = int(360 - math.degree(z))
print(x)
# 1496436 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
z = math.acos(((1/2)((a-b) + (a-c))) / math.sqrt(((a-b)**2) + (a-c)*(b-c)))
x = int(360 - math.degree(z))
print(x)

# 1496524 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
z = math.acos((((1/2)((a-b) + (a-c))) / math.sqrt(((a-b)**2) + (a-c)*(b-c))))
x = int(360 - math.degree(z)
print(x)
# 1496684 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
z = math.acos((((1/2)((a-b) + (a-c))) / math.sqrt(((a-b)**2) + (a-c)*(b-c))))
x = int(360 - math.degrees(z))
print(x)
# 1496693 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
z = math.acos((((1/2)((a-b) + (a-c))) / math.sqrt(((a-b)**2) + (a-c)*(b-c))))
x = int(360 - math.degrees(z))
print(x)
# 1496732 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
z = math.acos((((1/2)((a-b) + (a-c))) / math.sqrt(((a-b)**2) + (a-c)*(b-c))))
x = int(360 - math.degrees(z))
print(x)
# 1496803 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
z = math.acos((((1/2)((a-b) + (a-c))) / math.sqrt(((a-b)**2) + (a-c)*(b-c))))
x = int(360 - math.degrees(z))
print(x)
# 1496894 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
z = math.acos((((1/2)((a-b) + (a-c))) / math.sqrt(((a-b)**2) + (a-c)*(b-c))))
x = int(360 - (z))
print(math.degrees(x))

6430226021
# 1496598 (0%)
import math

x = input()
y = input()
z = input()

a = int(x)
b = float(y)
c = float(z)



d = 0.5*((a-b)+(a-c))/((a-b)**2+(a-c)(b-c))**0.5
    
d = math.degree(d)

x = int(360, zeta)

print(x)
# 1496675 (0%)
import math

x = input()
y = input()
z = input()

a = int(x)
b = int(y)
c = int(z)



d = 0.5*((a-b)+(a-c))/((a-b)**2+(a-c)(b-c))**0.5
    
d = math.degree(d)

s = int(360, zeta)

print(s)
    
# 1496737 (0%)
import math

x = input()
y = input()
z = input()

a = int(x)
b = int(y)
c = int(z)



d = 0.5*((a-b)+(a-c))/((a-b)**2+(a-c)(b-c))**0.5
    
d = math.degree(d)

s = int(360, d)

print(s)
# 1496753 (0%)
import math

x = input()
y = input()
z = input()

a = int(x)
b = int(y)
c = int(z)



d = 0.5*((a-b)+(a-c))/((a-b)**2+(a-c)(b-c))**0.5
    
d = math.degree(d)

s = int(360, d)

print(s)
# 1496832 (0%)
import math

x = input()
y = input()
z = input()

a = int(x)
b = int(y)
c = int(z)



d = 0.5*((a-b)+(a-c))/(((a-b)**2)+(a-c)(b-c))**0.5
    
d = math.degree(d)

s = int(360, d)

print(s)
# 1496869 (0%)
import math

x = input()
y = input()
z = input()

a = int(x)
b = int(y)
c = int(z)



d = (0.5*((a-b)+(a-c)))/(((a-b)**2)+(a-c)(b-c))**0.5)
    
d = math.degree(d)

s = int(360, d)

print(s)
# 1496901 (0%)
import math

x = input()
y = input()
z = input()

a = int(x)
b = int(y)
c = int(z)



d = (0.5*((a-b)+(a-c)))/((a-b)**2)+(a-c)(b-c))**0.5)
    
d = math.degree(d)

s = int(360, d)

print(s)
# 1496933 (0%)
import math

x = input()
y = input()
z = input()

a = int(x)
b = int(y)
c = int(z)



d = (0.5*((a-b)+(a-c)))/((a-b)**2)+(a-c)(b-c))**0.5)
    
d = math.degree(d)

s = int(360, d)

print(s)

6430247221
# 1496210 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
q = (1/2)*((a-b)+(a-c))
e = math.sqrt(((a-b)**2)+((a-b)*(b-c)))
s = math.acos(q/e)
v = math.degrees(s)
x = int(360 - v)
print(x)
# 1496349 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
q = (1/2)*((a-b)+(a-c))
e = math.sqrt(((a-b)**2)+((a-b)*(b-c)))
z = q/e
s = math.acos(z)
v = math.degrees(s)
x = int(360 - v)
print(x)
# 1496366 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
q = ((a-b)+(a-c))/2
e = math.sqrt(((a-b)**2)+((a-b)*(b-c)))
z = q/e
s = math.acos(z)
v = math.degrees(s)
x = int(360 - v)
print(x)
# 1496511 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
q = (1/2)*((a-b)+(a-c))
e = (((a-b)**2)+((a-b)*(b-c)))**(1/2)
s = math.acos(q/e)
v = math.degrees(s)
x = int(360 - v)
print(x)
# 1496856 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
q = (1/2)*((a-b)+(a-c))
e = (((a-b)**2)+((a-b)*(b-c)))**(1/2)
s = math.acos(q/e)
v = math.degrees(s)
x = int(360 - v)
print(x)

6430248921
# 1496180 (0%)
import math

a=input()
b=input()
c=input()
top=((a+b)+(a-c))/2
bt=math.sqrt((a-b)**2+((a-c)*(b-c)))
teta=math.acos(top/bt)

ans=int(360-math.degrees(teta))

print(ans)
# 1496603 (0%)
import math

a = int(input())
b = int(input())
c = int(input())
top = ((a + b) + (a - c)) / 2
bt = math.sqrt(((a - b) ** (2)) + ((a - c) * (b - c)))
teta = math.acos(top / bt)
o=math.degrees(teta)

ans=int(360-o)

print(ans)
# 1496772 (0%)
import math

a = int(input())
b = int(input())
c = int(input())
top = ((a + b) + (a - c)) / 2
bt = math.sqrt(((a - b) ** (2)) + ((a - c) * (b - c)))
teta = math.acos(float(top / bt))
o=math.degrees(teta)

ans=int(360-o)

print(ans)


6430265521
# 1496844 (0%)
import math
a=int(input())
b=int(input())
c=int(input())

6430287321
# 1496895 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
z = math.acos(1/2*((a-b) + (a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
x = int(360 - z)
print(z)


6430291821
# 1496660 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
y = math.degrees(math.acos((0.5(a-b)+(a-c))/(((a-b)**2)+(a-c)*(b-c))**0.5))
x = int(360-y)
print(x)

# 1496840 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
y = math.degrees(math.acos((0.5(a-b)+(a-c))/(((a-b)**2)+(a-c)*(b-c))**0.5))
x = int(360-y)
print(x)

6430297621
# 1496993 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
y = math.acos((2*a-b-c)/2*math.sqrt((a-b)**2+(a-c)*(b-c)))
x = int(360-math.degrees(y))

6430298221
# 1496587 (0%)
import math
def arc_cos(x):
 a = input(int())
 b = input(int())
 c = input(int())

 y = math.acos((1/2((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
 
 x = int(math.degrees(360-y))

 return x


# 1496817 (0%)
import math
a = input(int())
b = input(int())
c = input(int())

y = math.acos((1/2((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
 
x = int(math.degrees(360-y))

print (x)
# 1496880 (0%)
import math
def arc_cos(x):
 a = input(int())
 b = input(int())
 c = input(int())

 y = math.acos((1/2((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
 
 x = int(math.degrees(360-y))

 return x


6430299921
# 1496812 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
mum=math.acos((((1/2)*(a-b))/(a-c))/(math.sqrt((a-b)**2+((a-c)*(a-b)))))
w=math.degrees(mum)
x=int(360-w)
print(x)


6430300821
# 1496887 (0%)
import math
def f(x) :
    a=int(input())
    b=int(input())
    c=int(input())
    d=(a-b)+(a-c)
    e=(((a-b)**2)+((a-c)(b-c)))**0.5
    y=math.acos(((1/2)*d)/e)
    return x=int(math.degrees(360-y))
print(x)


6430306621
# 1496633 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

u = ((a-b+a-c)/2)
d = (math.sqrt((a-b)**2)+((a-c)*(b-c)))
degree = math.degrees(u/d)
acos = math.acos(degree)
ans = int(360-acos)

print (ans)
# 1496879 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

u = ((a-b+a-c)/2)
d = (math.sqrt((a-b)**2)+((a-c)*(b-c)))
acos = math.acos(u/d)
degree = math.degrees(acos)
ans = int(360-acos)

print (ans)

6430311721
# 1496969 (0%)
def approximated_arccos(a,b,c):
 y= math.acos(((1/2)*((a-b)+(a-c))/(((a-b)**2))+(a-c)(a-b))**(0.5))
 return y

def degree(x)
 x =int(360-y)
 return x
print math.degree(approximated_arccos(a,b,c))

6430336421
# 1496864 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
deg = math.acos(0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))

z=math.degrees (x)
x=int(360-z)
print (x)
# 1496886 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
deg = math.acos(0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))

z=math.degrees (deg)
x=int(360-z)
print (x)
# 1496903 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
deg = math.acos(0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))

z=math.degrees(deg)
x=int(360-z)
print (x)
# 1496928 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
deg = math.acos((0.5)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))

z=math.degrees(deg)
x=int(360-z)
print (x)
# 1496939 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
deg = math.acos((0.5)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))

z = math.degrees(deg)
x = int(360-z)
print (x)
# 1496952 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
deg = math.acos((0.5)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))

v = math.degrees(deg)
x = int(360-v)
print (x)
# 1496959 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
deg = math.acos((0.5)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))
v = math.degrees(deg)
x = int(360-v)
print (x)
# 1496987 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
deg = math.acos((0.5)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))
v = math.degrees(deg)
x = int(360-v)
print(x)

6430352421
# 1496795 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

def angle(a,b,c):
    q = math.cos((0.5[(a-b)+(a-c)])/math.sqrt([((a-b)**2)+(a-b)(a-c)]))
    return math.degree(q)
def trans(q):
    x = int(360 - q)
    return x
print(trans(q))

6430355321
# 1496804 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
y = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+((a-c)*(b-c)))))
x = int((360-y))
x = int(math.degrees(x))
print(x)
# 1496980 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
y = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt((a-b)**2+((a-c)*(b-c)))))
x = int((360-y))
x = int(math.degrees(x))
print(x)

6430360421
# 1496138 (0%)
a=float(inpuut())
b=float(inpuut())
c=float(inpuut())
d=math.acos(((1/2)((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x=int(360-d)
print(x)
# 1496188 (0%)
a=float(inpuut())
b=float(inpuut())
c=float(inpuut())
d=math.acos(((1/2)((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
e=math.degrees(d)
x=int(360-e)
print(x)

# 1496244 (0%)
a=float(inpuut())
b=float(inpuut())
c=float(inpuut())
d=math.acos(((1/2)((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x=int(360-d)
print(math.degrees(x))
# 1496247 (0%)
a=float(inpuut())
b=float(inpuut())
c=float(inpuut())
d=math.acos(((1/2)((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x=int(360-d)
print(math.degrees(x))
# 1496297 (0%)
a=float(inpuut())
b=float(inpuut())
c=float(inpuut())
d=math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x=int(360-d)
print(math.degrees(x)
# 1496328 (0%)
import math
a=float(inpuut())
b=float(inpuut())
c=float(inpuut())
d=math.acos(((1/2)*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))
x=int(360-d)
print(math.degrees(x))

# 1496542 (0%)
import math
a=float(inpuut())
b=float(inpuut())
c=float(inpuut())
d=math.acos(e/f)
e=(1/2)*((a-b)+(a-c))
f=math.sqrt((a-b)**2+(a-c)*(b-c))
x=int(360-math.degrees(d))
print(x)

# 1496695 (0%)
import math
a=float(inpuut())
b=float(inpuut())
c=float(inpuut())

e=(1/2)*((a-b)+(a-c))
f=math.sqrt((a-b)**2+(a-c)*(b-c))

d=math.acos(e/f)
x=int(360-math.degrees(d))
print(x)
# 1496858 (0%)
import math
a=float(inpuut())
b=float(inpuut())
c=float(inpuut())

e=(1/2)*((a-b)+(a-c))
f=math.sqrt((a-b)**2+(a-c)*(b-c))

d=math.acos(e/f)
g=math.degrees(d)
x=int(360-g)
print(x)
# 1496878 (0%)
import math
a=float(inpuut())
b=float(inpuut())
c=float(inpuut())

h=(1/2)*((a-b)+(a-c))
f=math.sqrt((a-b)**2+(a-c)*(b-c))

d=math.acos(h/f)
g=math.degrees(d)
x=int(360-g)
print(x)
# 1496955 (0%)
import math
a=float(inpuut())
b=float(inpuut())
c=float(inpuut())

h=(0.5)*((a-b)+(a-c))
f=math.sqrt((a-b)**2+(a-c)*(b-c))

d=math.acos(h/f)
g=math.degrees(d)
x=int(360-g)
print(x)

6430372021
# 1496747 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
seta = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
radian = math.degrees(seta)
x = int(360-round(radian))
print (x)
# 1496764 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
seta = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
radian = math.degrees(seta)
x = int(360-round(radian))
print (x)

6430374221
# 1496346 (0%)
import math
x = float(input())
y = float(input())
z = float(input())

def f(x,y,z):
    a = math.degrees(x)
    b = math.degrees(y)
    c = math.degrees(z)
    return math.acos(((((a-b)+(a-c))/2)/(math.sqrt((a-b)**2 + (a-c)(b-c)))))
# 1496415 (0%)
import math
x = float(input())
y = float(input())
z = float(input())

def f(a,b,c):
    a = math.degrees(x)
    b = math.degrees(y)
    c = math.degrees(z)
    return math.acos(((((a-b)+(a-c))/2)/(math.sqrt((a-b)**2 + (a-c)(b-c)))))
# 1496714 (0%)
import math
x = float(input())
y = float(input())
z = float(input())

def f(a,b,c):
    a = math.degrees(x)
    b = math.degrees(y)
    c = math.degrees(z)
    return math.acos(((((a-b)+(a-c))/2)/(math.sqrt((a-b)**2 + (a-c)(b-c)))))
    
x = int(360-f(a,b,c))
# 1496829 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
seta = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
radian = math.degrees(seta)
x = int(360-round(radian))
print (x)
# 1496947 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
seta = math.acos((0.5*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))
radian = math.degrees(seta)
x = int(360-round(radian))
print(x)

6430378821
# 1496566 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
def teta(a,b,c):
    radian = math.acos((1/2 * (2 * a - b - c ))/(math.sqrt(((a-b)**2)+((a - c)*( b - c)))))
    return math.degrees(radian)
x = 360 - int(teta(a ,b,c))
print(x)
# 1496632 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
def teta(a,b,c):
    radian = math.acos((1/2 * (2 * a - b - c ))/(math.sqrt(((a-b)**2)+((a - c)*( b - c)))))
    return radian
d = math.degree(teta(a,b,c))
x = 360 - int(d)
print(x)
# 1496773 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
def teta(a,b,c):
    radian = math.acos((1/2 * ((a -b )+(a - c))/(math.sqrt(((a-b)**2)+((a - c)*( b - c)))))
    return math.degrees(radian)
x = 360 - int(teta(a ,b,c))
print(x)
# 1496792 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
def teta(a,b,c):
    radian = math.acos((1/2 * ((a -b )+(a - c))/(math.sqrt(((a-b)**2)+((a - c)*( b - c)))))
    return math.degrees(radian)
x = 360 - int(teta(a ,b,c))
print(x)
# 1496855 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
def teta(a,b,c):
    radian = math.acos((1/2 * ( 2*a - (b+c))/(math.sqrt(((a-b)**2)+((a - c)*( b - c)))))
    return math.degrees(radian)
x = 360 - int(teta(a ,b,c))
print(x)
# 1496919 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
def teta(a,b,c):
    radian = math.acos(1/2 * ((a -b )+(a - c))/(math.sqrt(((a-b)**2)+((a - c)*( b - c)))))
    return math.degrees(radian)
x = 360 - int(teta(a ,b,c))
print(x)
# 1496963 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
def teta(w,h,k):
    radian = math.acos(1/2 * (2*w -(h +k))/(math.sqrt(((w-h)**2)+((w - k)*( h - k)))))
    return math.degrees(radian)
x = 360 - int(teta(a,b,c))
print(x)

6430383921
# 1496658 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

z = math.acos((0.5*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(a-b)))
y = math.degrees(z)
x = int(360 - y)
print(x)
# 1496818 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

z = math.acos((0.5*(2a-b-c))/math.sqrt((a-b)**2 + (a-c)(b-c)))
y = math.degrees(z)
x = int(360 - y)
print(x)

# 1496866 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

z = math.acos((0.5*(2*a-b-c))/math.sqrt((a-b)**2 + (a-c)(b-c)))
y = math.degrees(z)
x = int(360 - y)
print(x)


6430387421
# 1496724 (0%)
import math
a=int(input())
b=int(input())
c=int(input())


def arccos(a,b,c):
    I=math.acos(((a-b)+(a-c))/2*(((a-b)**2)+((a-b)*(a-c)))**(1/2))
    J=math.degrees(I)
    return(J)


print(arccos(a,b,c))
# 1496785 (0%)
import math
a=int(input())
b=int(input())
c=int(input())


def arccos(a,b,c):
  I=math.acos(((a-b)+(a-c))/2*(((a-b)**2)+((a-b)*(a-c)))**(1/2))
  J=math.degrees(I)
  return(J)


print(arccos(a,b,c))
# 1496846 (0%)
import math
a=int(input())
b=int(input())
c=int(input())


def arccos(a,b,c):
  I=math.acos(((a-b)+(a-c))/2*(((a-b)**2)+((a-b)*(a-c)))**(1/2))
  J=math.degrees(I)
  return(J)


print(arccos(a,b,c))
# 1496946 (0%)
import math
a=int(input())
b=int(input())
c=int(input())


def arccos(a,b,c):
  I=math.acos(((a-b)+(a-c))/2*((((a-b)**2)+((a-b)*(a-c)))**(1/2)))
  J=math.degrees(I)
  return(J)


print(arccos(a,b,c))

6430396021
# 1496664 (0%)
import math

a=int(input())
b=int(input())
c=int(input())
y=math.degrees(math.acos(((1/2)*(a-b+a-c))/math.sqrt((a-b)**2+(a-c)(b-c))))
x=int(360-y)
print(x)




# 1496938 (0%)
import math

a=int(input())
b=int(input())
c=int(input())
y=math.degrees(math.acos(((1/2)*(a-b+a-c))/math.sqrt((a-b)**2+(a-c)(b-c))))
x=int(360-y)
print(x)

6430397721
# 1496801 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos(((0.5)*((a-b)+(a-c))/(math.sqrt(((a-b)**2)+((a-c)*(b-c))))))
x =int(360 − math.degrees(s))
print(x)

# 1496830 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos(((0.5)*((a-b)+(a-c))/(math.sqrt(((a-b)**2)+((a-c)*(b-c))))))
x =int(360 − math.degrees(s))
print(x)
# 1496835 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

s = math.acos(((0.5)*((a-b)+(a-c))/(math.sqrt(((a-b)**2)+((a-c)*(b-c))))))
x =int(360 − math.degrees(s))
print(x)

6430401521
# 1496615 (0%)
import math

a = int(input())
b = int(input())
c = int(input())
y = math.acos((1/2((a-b)+(a-c)))/(((a-b)**2+(a-c)(b-c)))**0.5)
z = math.degree(y)
x = int(360-z)

print(z)

6430406721
# 1496797 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
r=(1/2((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c))
theta=math.acos(r)
theta=math.degrees(theta)
x=int(360-theta)
print(x)

6430409621
# 1496268 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

y = math.acos(0.5(2*a-b-c)/math.sqrt((a-b)**2+(a-c)(b-c)))
z = math.degrees(y)
x = int(360-z)
# 1496333 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

y = math.acos(0.5(2*a-b-c)/math.sqrt((a-b)**2+(a-c)(b-c)))
z = math.degrees(y)
x = int(360-z)

print(x)
# 1496533 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

def angle(a,b,c):
 y = math.acos(0.5(2*a-b-c)/math.sqrt((a-b)**2+(a-c)(b-c)))
 z = math.degrees(y)
 x = int(360-z)
 return x
# 1496945 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

def angle(a,b,c):
 y = math.acos(0.5(2*a-b-c)/math.sqrt((a-b)**2+(a-c)(b-c)))
 z = math.degrees(y)
 x = int(360-z)
 return x
# 1496995 (0%)
import math

a = float(input())
b = float(input())
c = float(input())

 y = math.acos(0.5(2*a-b-c)/math.sqrt((a-b)**2+(a-c)(b-c)))
 z = math.degrees(y)
 x = int(360-z)

print(x)

6430411821
# 1496614 (0%)
a=float(input())
b=float(input())
c=float(input())
import math 
print(int(360-(math.degrees(math.acos(math.radians((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))))))
# 1496630 (0%)
a=float(input())
b=float(input())
c=float(input())
import math 
print(int(360-int(math.degrees(math.acos(math.radians((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))))))
# 1496662 (0%)

import math 
a=float(input())
b=float(input())
c=float(input())
print(int(360-int(math.degrees(math.acos(math.radians((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))))))
# 1496758 (0%)
import math 
a=float(input())
b=float(input())
c=float(input())
print(int(360-int(math.degrees(math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))))))
# 1496780 (0%)
import math 
a=float(input())
b=float(input())
c=float(input())
print(int(360-int(math.degrees(math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c)))))))
# 1496826 (0%)
import math 
a=float(input())
b=float(input())
c=float(input())
print(int(360-int(math.degrees(math.acos((1/2)*((a-b)+(a-c)))/math.sqrt((a-b)**2+(a-c)*(b-c))))))
# 1496943 (0%)
a=float(input())
b=float(input())
c=float(input())
import math 
print(int(360-(math.degrees(math.acos(math.radians((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2+(a-c)*(b-c))))))))

6430413021
# 1496369 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
d = math.acos((1/2((a-b)+(a-c)))/(math.sqrt((a-b)**2 + (a-c)*(b-c))))
e = math.degrees(d)
x = int(360-e)
print(x)
# 1496573 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
d = math.acos((1/2((a-b)+(a-c)))/(math.sqrt((a-b)**2 + (a-c)*(b-c))))
e = math.degrees(d)
x = int(360-e)
print(x)
# 1496749 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
d = math.acos((1/2((a-b)+(a-c)))/(math.sqrt(((a-b)**2 + (a-c)*(b-c)))))
e = math.degrees(d)
x = int(360-e)
print(x)
# 1496876 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
d = math.acos(((1/2((a-b)+(a-c)))/(math.sqrt(((a-b)**2 + (a-c)*(b-c))))))
e = math.degrees(d)
x = int(360-e)
print(x)

6430414721
# 1496892 (0%)
import math
def wow_(a,b,c):

    t = math.acos((0.5*(a-b)+(a-c))/math.sqrt(((a-b)**2)+(a-b)*(b-c)))
    return t
a= float(input())
b= float(input())
c= float(input())
t = wow_(a,b,c)
x = int(360-t)

A = math.degrees(x)
# 1496918 (0%)
import math
def wow_(a,b,c):

    t = math.acos((0.5*(a-b)+(a-c))/math.sqrt(((a-b)**2)+(a-b)*(b-c)))
    return t
a= float(input())
b= float(input())
c= float(input())
t = wow_(a,b,c)
x = int(360-t)

A = math.degrees(x)
print(A)

6430415321
# 1496571 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
z=math.acos( 1/2((a-b)+(a-c)) / (math.sqrt ( (a-b)**2 + (a-c)(b-c))))
x=int(360-z)
print(x)

# 1496888 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
z=math.acos( (1 / 2 * ( (a -b) + (a-c)) / (math.sqrt (a-b)**2 +(a-c)*(b-c))))
x=int(360-z)
print(x)

# 1496931 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
z=math.acos( (1 / 2 *( ( (a -b) + (a-c))) / (math.sqrt( (a-b)**2 +(a-c)*(b-c)))))
x=int(360-z)
print(x)

# 1496991 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
z=math.acos( (((1 / 2 *( 2*a - b-c ))) / (math.sqrt( (a-b)**2 +(a-c)*(b-c)))))
x=int(360-z)
print(x)


6430427921
# 1496640 (0%)
import math

a = input()
b = input()
c = input()

ac = math.acos((1/2)*((a-b)+(a-c))/((((a-b)**2))+((a-c)*(b-c))**(1/2)))

dac = math.degrees(ac)
x = int(360 - dac)
print(x)
# 1496805 (0%)
import math

a = int(input())
b = int(input())
c = int(input())

ac = math.acos((1/2)*((a-b)+(a-c))/((((a-b)**2))+((a-c)*(b-c))**(1/2)))

dac = math.degrees(ac)
x = int(360 - dac)
print(x)
# 1496916 (0%)
import math

a = int(input())
b = int(input())
c = int(input())

ac = math.acos(((1/2)*((a-b)+(a-c)))/((((a-b)**2))+((a-c)*(b-c))**(1/2)))

dac = math.degrees(ac)
x = int(360 - dac)
print(x)
# 1496985 (0%)
import math

a = int(input())
b = int(input())
c = int(input())

ac = math.acos(((1/2)*((a-b)+(a-c)))/((((a-b)**2))+((a-c)*(b-c))**(1/2)))

dac = math.degrees(ac)
x = int(360 - dac)
print(x)

6430432021
# 1496775 (0%)
import math

a = int(input())
b = int(input())
c = int(input())

z = math.acos((0.5*((a-b)+(a-c))) / math.sqrt(((a-b)**2) + ((a-c)*(b-c))))
x = int(360 - z)
print(x)

6430447421
# 1496807 (0%)
import math
a=float(input()) 
b=float(input())
c=float(input())
y=math.degrees(math.acos((1/2*((a-b)+(a-c)))/(math.sqrt((a-b)**2+((a-c)*(b-c)))))
x=int(360-y)
print(x)
# 1496862 (0%)
import math
a=float(input()) 
b=float(input())
c=float(input())
y=math.degrees(math.acos((1/2*((a-b)+(a-c)))/(math.sqrt((a-b)**2+((a-c)*(b-c)))))
x=int(360-y)
print(x)

6430448021
# 1496746 (0%)
print('Input a : ')
a = abs(float(input()))
print('Input b : ')
b = abs(float(input()))
print('Input c : ')
c = abs(float(input()))

x = (0.5*(a-b+a-c))/math.sqrt(((a-b)**2)+((a-c)*(b-c)))

rad = math.acos(x)
deg = math.degrees(rad)

print(int(360-deg))
# 1496890 (0%)
a = abs(float(input()))
b = abs(float(input()))
c = abs(float(input()))

x = (0.5*(a-b+a-c))/math.sqrt(((a-b)**2)+((a-c)*(b-c)))

rad = math.acos(x)
deg = math.degrees(rad)

print(int(360-deg))

6432011821
# 1496914 (0%)
import math

a = int(input())
b = int(input())
c = int(input())
z = (math.acos((1/2*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)(b-c)))))
y = math.degrees(x)
x= int(360-y)

print(x)

# 1496992 (0%)
import math

a = int(input())
b = int(input())
c = int(input())
z = (math.acos((1/2*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)(b-c)))))
y = math.degrees(z)
x= int(360-y)

print(x)


6432014721
# 1496899 (0%)
import math
seta = math.acos((0.5(a-b)+(a-c)/math.sqrt((a−b)**2 + (a − c)(b − c))
y=math.degrees(seta)
x= int(360 − y)
a=float(input())
b=float(input())
c=float(input())
print(x)

# 1496950 (0%)
import math
seta = math.acos((0.5(a-b)+(a-c)/math.sqrt((a−b)**2 + (a − c)*(b − c))
y=math.degrees(seta)
x= int(360 − y)
a=float(input())
b=float(input())
c=float(input())
print(x)
# 1496976 (0%)
import math
seta = math.acos((0.5*(a-b)+(a-c)/math.sqrt((a−b)**2 + (a − c)*(b − c))
y=math.degrees(seta)
x= int(360 − y)
a=float(input())
b=float(input())
c=float(input())
print(x)

6432025621
# 1496497 (0%)
import math
a = int(input())
ิb = int(input())
c = int(input())

d = math.acos(math.degrees(1/2*((a-b)+(a-c)/(((a-b)**2+(a-c)*(b-c)**(1/2))))))
x = int(360-d)
print(x)
# 1496559 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

d = math.acos(math.degrees(1/2*((a-b)+(a-c)/(((a-b)**2+(a-c)*(b-c)**(1/2))))))
x = int(360-d)
print(x)
# 1496670 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

d = math.acos(math.degrees(1/2*((a-b)+(a-c))/(((a-b)**2+(a-c)*(b-c)**(1/2))))))
x = int(360-d)
print(x)
# 1496788 (0%)
import math
a = int(input())
b = int(input())
c = int(input())

d = math.acos(math.degrees(1/2*((a-b)+(a-c))/(((a-b)**2+(a-c)*(b-c)**(1/2)))))
x = int(360-d)
print(x)

6432032021
# 1496889 (0%)
import math
a = input()
b =input()
c = input()
d =  math.acos(1/2*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
f = math.degrees(d)
x = int(360-f)
print(x)

# 1496924 (0%)
import math
a = input()
b =input()
c = input()
d =  math.acos(0.5*((a-b)+(a-c))/math.sqrt((a-b)**2+(a-c)*(b-c)))
f = math.degrees(d)
x = int(360-f)
print(x)


6432036521
# 1496865 (0%)
import math

a = int(input())
b = int(input())
c = int(input())

def x :(a,b,c)
  D = cos**(-1)*((1/2)((a-b)+(a-c))/((a-b)**2+((a-c)*(b-c)))**1/2)
  x = int(360-D)
  return(x)
math.acos(x)
math.degrees(x) 
# 1496872 (0%)
import math

a = int(input())
b = int(input())
c = int(input())

def x :(a,b,c)
  D = cos**(-1)*((1/2)((a-b)+(a-c))/((a-b)**2+((a-c)*(b-c)))**1/2)
  x = int(360-D)
  return(x)
math.acos(x)
math.degrees(x)
# 1496942 (0%)
import math

a = int(input())
b = int(input())
c = int(input())

def x :(a,b,c)
  D = cos**(-1)*((1/2)((a-b)+(a-c))/((a-b)**2+((a-c)*(b-c)))**1/2)
  x = int(360-D)
  return(math.acos(x))
  return (math.degrees(x))
print(x)

6432038821
# 1496883 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
r=math.acos(((1/2)((a-b)+(a-c)))/math.sqrt(((a-b)**2)+((a-c)(b-c))))
d=math.degrees(r)
x=int(360-d)
print(x)

6432041621
# 1496833 (0%)
import math
a = input()
b = input()
c = input()
y  = ((math.acos((0.5*((a-b)+(a-c))) / ( ((a-b)**2) + ( ( (a+c)*(b-c) )**0.5)))* math.pi )*180

x = int(360 - int(y)) // 1
print(x)
# 1496913 (0%)
import math
a = input()
b = input()
c = input()
y  = ((math.acos((0.5*((a-b)+(a-c))) / ( ((a-b)**2) + ( ( (a+c)*(b-c) )**0.5)))* math.pi )*180

x = (360 - int(y)) // 1
print(x)

6432052521
# 1496898 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
x=0
seta = 0
seta = math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt((((a-b)**2)+(a-c)*(b-c))))

math.degrees(seta)
x=int(360-seta)

print(x)
# 1496934 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
x=0
seta = 0
seta = math.acos((1/2*((a-b)+(a-c)))/(math.sqrt((a-b)**2+(a-c)*(b-c))))

math.degrees(seta)
x=int(360-seta)

print(x)

6432074321
# 1496905 (0%)
import math

def cal (a,b,c):
   x = (1/2((a-b)+(a-c)))
   y = math.sqrt(((a-b)**2)+((a-c)*(b-c)))
   o = math.acos(x/y)
   return o

def degree (x):
    x = int(360-o)
    math.degrees(x)
    return x

a = int(input())
b = int(input())
c = int(input())

print(cal(int(input()),int(input()),int(input())))


6432088121
# 1496718 (0%)
import math

a = int(input())
b = int(input())
c = int(input())
m = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+((a-c)*(b-c)))))
x = int(360-m)
print(x)
# 1496798 (0%)
import math

a = int(input())
b = int(input())
c = int(input())
m = math.acos((0.5*((a-b)+(a-c)))/(math.sqrt(((a-b)**2)+((a-c)*(b-c)))))
x = int(360-m)

print(math.degrees(x))

6432096121
# 1496403 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
d = math.cos(f)
e = ((1/2)*((a-b)+(a-c))
f = e/math.sqrt(((a-b)**2)+((a-c)*(b-c)))

# 1496580 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
d = math.cos(f)
e = ((1/2)*((a-b)+(a-c))
f = e/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
g = int(360-f)


print(g)
# 1496647 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
d = math.cos(f)
e = ((1/2)*((a-b)+(a-c))
f = e/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
h = math.degree(f)
g = int(360-h)
print(g)
# 1496756 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
d = math.cos(f)
e = ((1/2)*((a-b)+(a-c))
f = e/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
h = math.degree(f)
g = int(360-h)
print(g)
# 1496839 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
d = math.cos(f)
e = ((1/2)*((a-b)+(a-c))
f = e/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
h = math.degree(f)
g = int(360-h)
print(g)
# 1496935 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
d = math.acos(f)
e = ((1/2)*((a-b)+(a-c))
f = e/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
h = math.degree(f)
g = int(360-h)
print(g)

6432102221
# 1496755 (0%)
a = float(input())
b = float(input())
c = float(input())
result = math.acos(x)*((1/2)*((a-b)+(a-c)))/(math.sqrt((a-b)**2)+(a-c)*(b-c))
print (result)

6432105121
# 1496754 (0%)
a = input()
b = input()
c = input()
import math
B = ((a-b)+(a-c))/2)
L = math.sqrt(((a+b)**2)+((a-c)(b-c)))
D = math.degrees(math.acos(B/L))
x = int(360-D)
print(x)



6432111921
# 1496159 (0%)
import math
a=input()
b=input()
c=input()
d=((1/2)*((a-b)+(a-c)))
e=math.sqrt(((a-b)**2)+(a-c)(b-c))
f=d/e
ans=math.acos(f)
x=360-math.degrees(ans)

print(int(x))


# 1496501 (0%)

a=input()
b=input()
c=input()
a=float(a)
b=float(b)
c=float(c)

import math
d=((1/2)*((a-
e=(((a-b)**2)
f=d/e
ans=math.acos
x=360-math.de

print(int(x))
# 1496884 (0%)
a=input()
b=input()
c=input()
a=float(a)
b=float(b)
c=float(c)

import math

f=((1/2)*((a-b)+(a-c)))/(((a-b)**2+(a-c)(b-c))**(1/2))
ans=math.acos(f)
x=360-math.degrees(ans)

print(int(x))


6432125721
# 1496600 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
t = math.acos(r)
    return(math.radians(degree))
q = 1/2((a-b)+(a-c))
w = (((a-b)**2)+(a-c)(b-c))
e = math.sqrt(w)
r = q/e
x = int(360-t)
print(x)
# 1496649 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
t = math.acos(r)
o = (math.radians(degree))
q = 1/2((a-b)+(a-c))
w = (((a-b)**2)+(a-c)(b-c))
e = math.sqrt(w)
r = q/e
x = int(360-t)
print(x)

6432126321
# 1496218 (0%)
a = float(input())
b = float(input())
c = float(input())

import math
def radian(a,b,c):
    radian = math.acos((0.5*((a-b)+(a-c))))/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
    return radian

x = int(360 - math.degrees(radian))
print(x)
# 1496682 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
k = math.degrees(math.acos((0.5*((a-b)+(a-c))))/math.sqrt(((a-b)**2)+((a-c)*(b-c))))
x = int(360 -k)
print(str(x))

# 1496843 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
k = math.acos((0.5*((a-b)+(a-c))))/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
x = int(360 -k)
print(math.degrees(x))
# 1496908 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
def k(a,b,c):
k = math.acos((0.5*((a-b)+(a-c))))/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
d = math.degrees(k)
x = int(360 -d)
print(x)
# 1496925 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
def k(a,b,c):
k = math.acos((0.5*((a-b)+(a-c))))/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
d = math.degrees(k)
return d
x = int(360-d)
print(x)
# 1496958 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
def k(a,b,c):
k = math.acos((0.5*((a-b)+(a-c))))/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
x =int(360-l)
d = math.degrees(x)
return d

# 1496968 (0%)
a = float(input())
b = float(input())
c = float(input())
import math
def k(a,b,c):
k = math.acos((0.5*((a-b)+(a-c))))/math.sqrt(((a-b)**2)+((a-c)*(b-c)))
x =int(360-l)
d = math.degrees(x)
return d
print(d)

6432141721
# 1496897 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
t = (1/2)*((a-b)+(a-c))
d = math.sqrt(((a-b)**2)+((a-c)*(b-c)))
s = t/d
y = math.acos(s)
w = math.degree(w)
x = int(360 - w)
print(x)
# 1496912 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
t = (1/2)*((a-b)+(a-c))
d = math.sqrt(((a-b)**2)+((a-c)*(b-c)))
s = t/d
y = math.acos(s)
w = math.degree(w)
x = int(360 - w)
print(x)
# 1496941 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
t = (1/2)*((a-b)+(a-c))
d = math.sqrt(((a-b)**2)+((a-c)*(b-c)))
s = t/d
y = math.acos(s)
w = math.degree(w)
x = int(360-w)
print(x)
# 1496972 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
t = (1/2)*((a-b)+(a-c))
d = math.sqrt(((a-b)**2)+((a-c)*(b-c)))
s = t/d
y = math.acos(s)
w = math.degree(y)
x = int(360-w)
print(x)
# 1496977 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
t = (1/2)*((a-b)+(a-c))
d = math.sqrt(((a-b)**2)+((a-c)*(b-c)))
s = t/d
y = math.acos(s)
w = math.degree(y)
x = int(360-y)
print(x)
# 1496982 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
t = (1/2)*((a-b)+(a-c))
d = math.sqrt(((a-b)**2)+((a-c)*(b-c)))
s = t/d
y = math.acos(s)
w = math.degree(y)
x = int(360-w)
print(x)
# 1496996 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
t = (1/2)*((a-b)+(a-c))
d = math.sqrt(((a-b)**2)+((a-c)*(b-c)))
s = t/d
y = math.acos(s)
w = math.degree(y)
x = int(360-w)
print(x)

6432144621
# 1496619 (0%)
import math
a=float((input())
b=float((input())
c=float((input())
x=math.acos(0.5*(a-b+a-c)/(math.sqrt((a-b)**2+(a-c)*(b-c)))

n = int(360-math.degrees(x))
# 1496654 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
x=math.acos(0.5*(a-b+a-c)/(math.sqrt((a-b)**2+(a-c)*(b-c)))

n = int(360-math.degrees(x))
# 1496702 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
x=math.acos(0.5*(a-b+a-c)/(math.sqrt((a-b)**2+(a-c)*(b-c)))

n = int(360-math.degrees(x))

print(n)
# 1496857 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
x=math.acos(0.5*(a-b+a-c)/(math.sqrt((a-b)**2+(a-c)*(b-c)))

d = int(360-math.degrees(x))

print(d)
# 1496922 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
x=math.acos(0.5*(a-b+a-c)/(math.sqrt((a-b)**2+(a-c)*(b-c))
d = int(360-math.degrees(x))
print(d)
# 1496953 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
e=math.acos(0.5*(a-b+a-c)/(math.sqrt((a-b)**2+(a-c)*(b-c)))
d = int(360-math.degrees(e))
print(d)
# 1496990 (0%)
import math
a=float(input())
b=float(input())
c=float(input())
e=math.acos(0.5*(a-b+a-c)/math.sqrt((a-b)**2+(a-c)*(b-c))
d = int(360-math.degrees(e))
print(d)

6432145221
# 1496909 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
d = a-b
e = a-c
f = b-c
g = math.sqrt((d**2)+(e*f))
y = (1/2)*(d+e)/g
h = math.acos(y)
o = math.degrees(h)
x = int(360-h)
print(x)

6432149821
# 1496612 (0%)
import math

a = float(input())
b = float(input())
c = float(input())
degree1 = math.acos((0.5*((a-b)+(a-c)))/((((a-b)**2)+((a-c)*(b-c)))**0.5))
x = int(360 - degree1)
print(x)
# 1496745 (0%)
import math

a = float(input())
b = float(input())
c = float(input())
degree1 = math.acos((0.5*((a-b)+(a-c)))/((((a-b)**2)+((a-c)*(b-c)))**0.5))
x = int(360 - degree1)
math.degrees(x)
print(x)


6432152621
# 1496811 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
x=math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c))
result = int(360-math.degrees(x))
print("")
# 1496906 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
x=math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))
# 1496929 (0%)
import math
a=int(input())
b=int(input())
c=int(input())
x=math.acos(((1/2)*((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)*(b-c))
result = int(360-math.degrees(x))
print("{:.0f}".format(result))

6432157821
# 1496358 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
r = math.acos((((a-b)+(a-c))/2)/(math.sqrt(((a-b)**2))+(a-c)*(b-c)))

x = int(360 - (math.degree(r)))
# 1496373 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
r = math.acos((((a-b)+(a-c))/2)/(math.sqrt(((a-b)**2))+(a-c)*(b-c)))

# 1496757 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
r = math.acos((((a-b)+(a-c))/2)/(math.sqrt(((a-b)**2))+(a-c)*(b-c)))
d = r*180/math.pi
x = int(360 - (math.degree(d)))

return x
# 1496781 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
r = math.acos((((a-b)+(a-c))/2)/(math.sqrt(((a-b)**2))+(a-c)*(b-c)))
d = r*180/math.pi
x = int(360 - (math.degree(d)))

return x
# 1496827 (0%)
import math
a = float(input())
b = float(input())
c = float(input())
r = math.acos((((a-b)+(a-c))/2)/(math.sqrt(((a-b)**2))+(a-c)*(b-c)))
d = r*180/math.pi
x = int(360 - (math.degree(d)))
print(x)

6432171521
# 1496623 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

seta_degree = math.acos(((0.5)*((a-b) + (a-c)))/(math.sqrt((a-b)**2 +(a-c)*(b-c))))
seta_radi = math.degrees(seta_degree)
x = int(360-seta_degree)

print(x)

# 1496787 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

seta_degree = math.acos(((0.5)*((a-b) + (a-c)))/(math.sqrt((a-b)**2 +(a-c)*(b-c))))
seta_radi = math.degrees(seta_degree)
x = int(360-seta_degree)

print(x)
# 1496800 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

x = math.acos(((1/2)((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)(b-c)))
seta_radi = math.degrees(x)
x = int(360-seta_degree)

print(x)

# 1496851 (0%)
import math
a = float(input())
b = float(input())
c = float(input())

x = math.acos(((1/2)((a-b)+(a-c)))/math.sqrt(((a-b)**2)+(a-c)(b-c)))
seta_radi = math.degrees(x)
x = int(360-seta_radi)

print(x)

6432188221
# 1496765 (0%)
import math
X=int (360-math.degress(x))
x=1/2*(a-b)+(a-c)/math.sqrt(e)**2+(r*(t))
return x
# 1496973 (0%)
`import math

a = float(input())
b = float(input())
c = float(input())

t = math.degrees(math.acos((0.5*(2*a - b -c)/math.sqrt((a - b)**2 + (a - c)*(b - c))))) 
print(int(360-t))`
# 1496984 (0%)
`import math

a = float(input())
b = float(input())
c = float(input())

t = math.degrees(math.acos((0.5*(2*a - b -c)/math.sqrt((a - b)**2 + (a - c)*(b - c))))) 
print(int(360-t))`

6432194021
# 1496096 (0%)
import math

a = int(input())
b = int(input())
c = int(input())


seta = math.acos(1/2*((a-b)+(a-c))/((a-b)**2+(a-c)*(b-c))**0.5)
x = int(360-seta)
print(seta)
# 1496163 (0%)
import math

a = int(input())
b = int(input())
c = int(input())


seta = math.acos(1/2*((a-b)+(a-c))/((a-b)**2+(a-c)*(b-c))**0.5)
x = int(360-math.degrees(seta))
print(seta)
# 1496531 (0%)
import math

a = int(input())
b = int(input())
c = int(input())


seta = math.acos(1/2*((a-b)+(a-c))/((a-b)**2+((a-c)*(b-c)))**0.5)
x = 360-math.degrees(seta)
print(int(seta))


6432196221
# 1496719 (0%)
import math
a = int(input())
b = int(input())
c = int(input())
seta = math.acosh((0.5*((a-b)+(a-c)))/(((a-b)**2+(a-c)*(b-c)))**0.5)
x = int(360-math.degrees(seta))

6432201721
# 1496831 (0%)
import math
def f(x):
  math.degree(x)=math.acos(X)
  return x
def slove():
    
  d=(1/2*((a-b)*(a-c))/math.sqrt(((a-b)**2)+(a-c)*(b-c)))
  x=int(360-math.degree)
    
  a=float(input())
  b=float(input())
  c=float(input())
print(x)