for(;n=readline();)print(Math.pow(2,n/12+3.03136).toFixed(2))