a = {1491, 15926, 841341} n = io.read("*n") print(a[n])