#include using namespace std; int main() { int n; cin >> n; printf("%.16f\n", 4.0 * pow(0.75, n)); return 0; }