#include using namespace std; int main(){ cout << fixed << setprecision(20); double x; cin >> x; cout << x * 4 << endl; }