solution of ex05