#!/bin/python3 import sys def sumOfGroup(k): b=int((k*(k-1))/2) q=(2*b)+1 i=0 answer=q*k w=0 while i