#This is my PYTHON program
import math
K=3
L=12.48
x=y=a=b=float()
print('Please enter value for X\n')
x=float(input())
a=math.tan(math.sqrt(K**3))-1/(2*x)
print('Result is A=', a,'\n')
b=(math.sin(2*x)*L*(3**math.sqrt(5.75)))/(0.842**4*math.sqrt(8*K)*math.cos(4*x))
print('Result is B=', b, '\n')
if a*b<0:
y=(a-2*b)/(2*a+5*b)
if a*b>=0:
y=math.sqrt(a*b)
print('Result is Y=', y, '/n')
I1RoaXMgaXMgbXkgUFlUSE9OIHByb2dyYW0KaW1wb3J0IG1hdGgKSz0zCkw9MTIuNDgKeD15PWE9Yj1mbG9hdCgpCnByaW50KCdQbGVhc2UgZW50ZXIgdmFsdWUgZm9yIFhcbicpCng9ZmxvYXQoaW5wdXQoKSkKYT1tYXRoLnRhbihtYXRoLnNxcnQoSyoqMykpLTEvKDIqeCkKcHJpbnQoJ1Jlc3VsdCBpcyBBPScsIGEsJ1xuJykKYj0obWF0aC5zaW4oMip4KSpMKigzKiptYXRoLnNxcnQoNS43NSkpKS8oMC44NDIqKjQqbWF0aC5zcXJ0KDgqSykqbWF0aC5jb3MoNCp4KSkKcHJpbnQoJ1Jlc3VsdCBpcyBCPScsIGIsICdcbicpCmlmIGEqYjwwOgoJeT0oYS0yKmIpLygyKmErNSpiKQppZiBhKmI+PTA6Cgl5PW1hdGguc3FydChhKmIpCnByaW50KCdSZXN1bHQgaXMgWT0nLCB5LCAnL24nKQkKIA==