k=int(input()) l=k*(k-1)+1 c=l for i in range(k-1): l=l+2 c=c+l print(c)