#include <stdio.h>

int main(int argc, char *argv[])
{
	double n;
	n = atoi(argv[1]);
	printf("%f\n",n*2.54);
}