Adding 12 problem solution