ex1&ex2 final