Ex.3. solved.