Solved Problem35 in python.