N=int(input()) A=[16777216, 25165824, 29360128, 31457280, 32505856, 33030144, 33292288, 33423360, 33488896, 33521664, 33538048, 33546240, 33550336, 33552384, 33553408, 33553920, 33554176, 33554304, 33554368, 33554400, 33554416, 33554424, 33554428, 33554430] print(A[:N])