-----Input-----

The input contains a single integer a (0 ≤ a ≤ 35).


-----Output-----

Output a single integer.


-----Examples-----
Input
3

Output
8

Input
10

Output
1024

Difficulty: interview

Starter code:

Solutions:
import sys
a = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968]


print(a[int(sys.stdin.readline())])

a = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968]
b = int(input())
print(a[b])

print([1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968][int(input())])

a = [1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8092,16184,32368,64736,129472,258944,517888,1035776,2071552,4143104,8286208,16572416,33144832,66289664,132579328,265158656,530317312,1060634624,2121269248,4242538496,8485076992,16970153984,33940307968]
print(a[int(input())])

n = int(input())
a = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968]
print(a[n])

n = int(input())
if (n <= 12):
    print(2 ** n)
else:
    print(8092 * 2 ** (n - 13))

n = input()
dv = """0 1
1 2
2 4
3 8
4 16
5 32
6 64
7 128
8 256
9 512
10 1024
11 2048
12 4096
13 8092
14 16184
15 32368
16 64736
17 129472
18 258944
19 517888
20 1035776
21 2071552
22 4143104
23 8286208
24 16572416
25 33144832
26 66289664
27 132579328
28 265158656
29 530317312
30 1060634624
31 2121269248
32 4242538496
33 8485076992
34 16970153984
35 33940307968""".split('\n')
for line in dv:
	if line.split()[0] == n:
		print(line.split()[1].strip())
		break

print([1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8092,16184,32368,64736,129472,258944,517888,1035776,2071552,4143104,8286208,16572416,33144832,66289664,132579328,265158656,530317312,1060634624,2121269248,4242538496,8485076992,16970153984,33940307968][int(input())])

n = int(input())
k = [1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8092,
 16184,32368,64736,129472,258944,517888,1035776,
 2071552,4143104,8286208,16572416,33144832,
 66289664,132579328,265158656,530317312,1060634624,
 2121269248,4242538496,8485076992,16970153984,
 33940307968]
print(k[n])

a = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104,
     8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968]
print(a[int(input())])


n = int(input())
if n < 13:
    print(2 ** n)
else:
    print(8092 * (2 ** (n - 13)))


n = int(input())
a = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968]
print(a[n])

print([1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8092,
 16184,32368,64736,129472,258944,517888,1035776,
 2071552,4143104,8286208,16572416,33144832,
 66289664,132579328,265158656,530317312,1060634624,
 2121269248,4242538496,8485076992,16970153984,
 33940307968][int(input())])

print([1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8092,16184,32368,64736,129472,258944,517888,1035776,2071552,4143104,8286208,16572416,33144832,66289664,132579328,265158656,530317312,1060634624,2121269248,4242538496,8485076992,16970153984,33940307968][int(input())])

n = int(input())
print(
[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8092,
 16184,32368,64736,129472,258944,517888,1035776,
 2071552,4143104,8286208,16572416,33144832,
 66289664,132579328,265158656,530317312,1060634624,
 2121269248,4242538496,8485076992,16970153984,
 33940307968][n])

a = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968]
print(a[int(input())])

n = int(input())
a = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968]

print(a[n])

a = [0] * 100
a[0]= 1
a[1]= 2
a[2]= 4
a[3]= 8
a[4]= 16
a[5]= 32
a[6]= 64
a[7]= 128
a[8]= 256
a[9]= 512
a[10 ]=1024
a[11 ]=2048
a[12 ]=4096
a[13 ]=8092
a[14 ]=16184
a[15 ]=32368
a[16 ]=64736
a[17 ]=129472
a[18 ]=258944
a[19 ]=517888
a[20 ]=1035776
a[21 ]=2071552
a[22 ]=4143104
a[23 ]=8286208
a[24 ]=16572416
a[25 ]=33144832
a[26 ]=66289664
a[27 ]=132579328
a[28 ]=265158656
a[29 ]=530317312
a[30 ]=1060634624
a[31 ]=2121269248
a[32 ]=4242538496
a[33 ]=8485076992
a[34 ]=16970153984
a[35 ]=33940307968

n = int(input())
print(a[n])


lst = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968]
print(lst[int(input())])


a = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968]
print(a[int(input())])


res = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968]
print(res[int(input())])

a = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968]
print(a[int(input())])

print([1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968][int(input())])


A = [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8092, 16184, 32368, 64736, 129472, 258944, 517888, 1035776, 2071552, 4143104, 8286208, 16572416, 33144832, 66289664, 132579328, 265158656, 530317312, 1060634624, 2121269248, 4242538496, 8485076992, 16970153984, 33940307968]
print(A[int(input())])

n = int(input())
print(1 << n if n <= 12 else 8092 << (n-13))