x = [2, 4, 9, 18, 37, 75, 150, 300, 600, 1200] n = int(raw_input()) if n == -1: print '600>>9-n' else: print x[n - 1]