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.
[-125, 685, 214, 748, 172, -313, -577, 384, 127, 436, -662, 33, 583, 399, 743, -781, 645, -818, -623, 589, -288, 590, 232, 498, -12]