n = gets.to_i ans = 0 while ans > 2**n ans += 1 end puts ans