21 teachers lose all or part of their jobs