problem 37 solved

with the same solution as problem 36