10 medium exercises solved