What is the maximum value of n for which there is a set of distinct positive integers k1,k2,…,kn for which k12+k22+…+kn2=2002?<spanclass=′latex−bold′>(A)</span>14<spanclass=′latex−bold′>(B)</span>15<spanclass=′latex−bold′>(C)</span>16<spanclass=′latex−bold′>(D)</span>17<spanclass=′latex−bold′>(E)</span>18