1009. Skip line which consists the same number to accelerate.