using System; using static System.Console; using System.Linq; using System.Collections.Generic; class Program { static int NN => int.Parse(ReadLine()); static long[] NList => ReadLine().Split().Select(long.Parse).ToArray(); public static void Main() { Solve(); } static void Solve() { var dp = new long[1000001]; for (var i = 3L; i < dp.Length; ++i) dp[i] = dp[i - 1] + (i - 2) * (i - 1) * 2; var t = NN; var ans = new long[t]; for (var u = 0; u < t; ++u) { ans[u] = dp[NN]; } WriteLine(string.Join("\n", ans)); } }