you coach group consist n student the ith student programming skill a_i all student distinct programming skill you want divide team way no student j a_i a_j 1 belong team ie skill pair student team difference strictly great 1 number team minimum possible you answer q independent query