#include using namespace std; const double PI = acos(-1); int main(){ int n; cin >> n; cout << (int) (pow(PI * PI / 6, n) / n) << endl; }