from math import *
functions = {   'fabrate': sqrt, 
                'ensalex': atan, 
                'fallocest': cos, 
                'sploop': sin, 
                'strustate': gamma, 
                'holofy': exp, 
                'quendle': erf, 
                'tudefy': log10, 
                'chaness': fabs
            }
def f(x):
    return eval(x,functions)
str = input()
print('{0:.15f}'.format(f(str)))