#include <stdio.h>
#include <cmath>
using namespace std;
int main() {
double x, y;
scanf("%lf", &x); // input
y = 2.0 * M_PI * sin(x);// processing
printf ("%lf", y); // output
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxjbWF0aD4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCWRvdWJsZSB4LCB5OwoJc2NhbmYoIiVsZiIsICZ4KTsJCS8vIGlucHV0Cgl5ID0gMi4wICogTV9QSSAqIHNpbih4KTsvLyBwcm9jZXNzaW5nCglwcmludGYgKCIlbGYiLCB5KTsJCS8vIG91dHB1dAoJcmV0dXJuIDA7Cn0=