#include<stdio.h>
int main()
{
    int R;
    double circumference;
    scanf("%d",&R);
    if(1<= R && R<=100){
            circumference=2*3.1416*R;
            printf("%.2lf ",circumference);
    }
    return 0;
}
