def mean_wage_n_quarters_after_exit(wage_table, participants,
                                    n_quarters):
    """
    Return the median total wage for the Nth quarter after the
    program exit date, for a list of participants.