Adding 35 problem solution