In an assembly, Students from the same class are standing in increasing order of height in the same row. There are N class and K students in each class. You need to give the