Adding 27 problem solution