Adding 10 problem solution