Problem1504--switch

1504: switch

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

计算下面函数的值

y=cos(x+3.0)  当0<=x<10;

y=(cos(x+7.5))^2 当10<=x<20;

y=(cos(x+4.0))^4 当20<=x<30;

^表示幂运算,如x^2表示x的平方

如果x不在定义域内,输出“Not define”,否则输出y,保留5位小数

Input

多组样例,输入一个整数

Output

输出响应结果

Sample Input Copy

40

Sample Output Copy

Not define

HINT


Source/Category