#!/usr/bin/env python3 try: n = int(input()) except ValueError: n = 2 s = 1 for i in range(n): s = s * 2 print(s)