MAD_ex13-solution