Definition: 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.
Input: [983, -455, -498, 261, 178, -623, -465, 577, 161, -432, -712, -727, 180, 357, 682, 238, -675, 276, 160, 855, -416, -468, -141, -517]

[161, -727, -141]