import Data.List main = getLine >>= solve . read >> getLine >> return () solve :: Int -> IO () solve l = getLine >>= print . (2^(l-3) *) . read