#include #include int main() { int N; scanf( "%d", &N ); printf( "%.9f\n", 4*pow(0.75, N) ); return 0; }