Added solution 39