print " ".join(str(n * n) for n in range(10))