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 temp=k-1; temp=(temp*(temp+1)/2)*2+1; int p=0; long sum=0; while(p