ex6 done