solved ex3