#P3596. Lazy

    ID: 2480 远端评测题 1000ms 32MiB 尝试: 0 已通过: 0 难度: (无) 上传者: 标签>2010 ACM-ICPC Multi-University Training Contest(16)——Host by NUDT

Lazy

Problem Description

One of Mr.Lazy's kids which is called So Lazy and he is a pupil. As we know 'Like Father, Like Son',So Lazy and his father--Mr.Lazy is lazy where industriousness is expected.So Lazy is enjoying his summer vacation,and he is so lzay to finish his homework. He nearly forget this.Now,new term is around the corner,he feels more and more anxious day after day. He is so worry to finish his homework,he calculate very fast,and as a lazy man,he may make some mistakes.To accomplish his homework as fast as he can,he asks you (her elder bother Super Lazy) for help to check his homework.It is to say you must calculate all of his homework.As one of the most lazy people in the world.We know that you are industrious while coding,so you can solve this problem by computer program.

Input

Each line,there is one formula of algebra.The formula may include the following operator "+ - * / ^".(X^4 (def) X*X*X*X ),and all the numbers are real number and fit for double.Deviding 0 is illegal. Input end with the end of file.More information in sample.The length of the formula always less than 10000.

Output

Maybe the formula is illegal.If it is legal you must print the answer with 8 digits after dot in a single line or print "The teacher is so lazy!" in a single line.More information in sample and hint.

(-9) (2+8)^0.5+9 (+9)+1 3.1+4.5/(3-(2*1.5)) (+9)+89+(12*3.0*0.1/0.45)+.34+1
-9.00000000 12.16227766 10.00000000 The teacher is so lazy! 107.34000000

Hint

It is so easy,no trick exists.

Author

alpc98