n = io.read("*n") local a = 4 for i = 1, n do a = a * 3 / 4 if(a < 0.5 * 10^(-9)) then break end end print(string.format("%.10f", a))