#include #include #include #include #include #include #include long int sumOfGroup(long int k) { // Return the sum of the elements of the k'th group. long int sum=0; long int i; for(i=0;i