#include using namespace std; int main() { int n; cin >> n; cout << fixed << setprecision(13); cout << 4 * pow(0.75, n) << endl; return 0; }