


def celebrity(M, n):
    ## M the array itself and n is the number of people in the party
    for i in range(n):
        for j in range(n):
            if i == j:
                pass
            else:
                