import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { static long sumOfGroup(int k) { // Return the sum of the elements of the k'th group. long j=(k-1)*1l*k/2; j++; long sum=0; long curr=1+(j-1)*2; for(int i=0;i