Multi-exit self-distillation with appropriate teachers