#include int main(void){ int N; scanf("%d",&N); double t=4; while(N>0){ t*=0.75; N--; } printf("%.10lf",t); return 0; }