exercise2 first part