Given a list of n numbers from 1 to n-1, with one of the numbers repeated. Devise a method to determine which number is repeated