#define s sin #define c cos double x;main(){for(;~scanf("%lf",&x);printf("%f\n",s(s(c(c(c(s(c(c(c(s(s(s(s(s(c(s(c(c(x))))))))))))))))))));}