#include #include using namespace std; int main() { int N; cin >> N; cout.precision(15); cout << fixed << 4 * pow(0.75, N) << endl; return 0; }