__author__ = 'student'
import numpy as np
x=float(input())
y=(np.log((np.exp(1/(np.sin(x)+1))/(5/4+1/(x**15)))))/(np.log(1+x**2))
print (y)
x=float(input())
y=(np.log((np.exp(1/(np.sin(x)+1))/(5/4+1/(x**15)))))/(np.log(1+x**2))
print (y)
x=float(input())
y=(np.log((np.exp(1/(np.sin(x)+1))/(5/4+1/(x**15)))))/(np.log(1+x**2))
print (y)