#include using namespace std; signed main(){ int N; cin >> N; cout << fixed << setprecision( 10 ) << 4.0 * pow( 0.75, N ) << endl; return 0; }