How many numbers lying between 100 and 10,000 can be formed with the digits 1,2,3,4,5, if atleast one digit in the same numbers are repeated?