A set of consecutive positive integers beginning with 1 is written on a blackboard. One number is erased. The average (arithmetic mean) of the remaining numbers is 35177. What number was erased?<spanclass=′latex−bold′>(A)</span>6<spanclass=′latex−bold′>(B)</span>7<spanclass=′latex−bold′>(C)</span>8<spanclass=′latex−bold′>(D)</span>9<spanclass=′latex−bold′>(E)</span>cannot be determined