First crack at problem 35