#include<bits/stdc++.h>
using namespace std;
int main()
{
double a;
cin>>a;
cout<<fixed<<setprecision(0)<<a*3.156*pow(10,7)<<endl;
}

#include<bits/stdc++.h>
using namespace std;
int main()
{
double a;
cin>>a;
cout<<fixed<<setprecision(0)<<a*3.156*pow(10,7)<<endl;
}