#define s sin #define c cos main(){float a;while(scanf("%f",&a)>0)printf("%f\n",s(s(c(c(c(s(c(c(c(s(s(s(s(s(c(s(c(c(a)))))))))))))))))));}