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