N = int(input()) A = [0] * 101 A[0] = 4 A[1] = 3 for k in range(2,N+1): A[k] = A[k-1] * 0.75 print(A[N])