from math import *
print(" Enter x: ")
x = float(input())
print(" Enter a: ")
a = float(input())
G =5*((-9)*a*a +  11*a*x + 14*x*x)/(15*a*a + 49*a*x + 24*x*x );
print(G)

print(" Enter x: ")
x = float(input())
print(" Enter a: ")
a = float(input())
F =tan( 18*a*a + 29*a*x + 10*x*x );
print(F)

print(" Enter x: ")
x = float(input())
print(" Enter a: ")
a = float(input())
Y = acos(-7*a*a - 10*a*x + 8*x*x + 1);
print(Y)
