Ex.1
solution