Added solution of 4.7