#include <iostream>
using namespace std;
int main() {
int liczba ;
cin >> liczba;
cout.precision (4);
cout << fixed << liczba * 2 * 3.14159265/360;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgbGljemJhIDsKCWNpbiA+PiBsaWN6YmE7Cgljb3V0LnByZWNpc2lvbiAoNCk7Cgljb3V0IDw8IGZpeGVkIDw8IGxpY3piYSAqIDIgKiAzLjE0MTU5MjY1LzM2MDsKCQoJcmV0dXJuIDA7Cn0=