#define _USE_MATH_DEFINES
#include <stdio.h>
#include <math.h>
int main(void) {
	float input = 0;
	float output = 0;
	scanf("%f", &input);
	output = 2 * input*M_PI;
	printf("%.2f\n", output);
	return 0;
}