Charlie the snail is climbing up the Finley middle school flagpole. He climbs 10 inches in 10 minutes and then rests for 2 minutes. He continued at the same rate, climbing for 10 minutes and resting for 2 minutes. If the flagpole is 20 feet high, how many minutes will it take Charlie to reach the top of the flagpole?