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: [507, 879, -124, -620, -431, -227, -76, 45, 90, -634, -855, 951, 532, 100, -854, 181, -539, -620, 336, 741, 335, 967, -402]

[181]