#include using namespace std; long sumOfGroup(int k) { // Return the sum of the elements of the k'th group. long val=1,ans=0; int i; for(i=1;i> k; long answer = sumOfGroup(k); cout << answer << endl; return 0; }