Added solution to P35.