In this task you will be given a list of integers. You should only return an integer if the first digit is the same as the last digit in the number. If an integer has a single digit, then it should be returned. If there are no integers that start and end with the same digit then an empty list ("[]") should be returned.
[-877, -595, 36, 555, 151, -368, -500, -135, 603, -821, 605, 737, -331, -806, 46, 677, 482, 950, -962, -998, 145, -615, -269, 934]