You will be given a definition of a task first, then some input of the task.
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.

[776, -47, -565, -29, -732, 642, -543, 755, -325, 4, -148, -126, 990, 51, -989, -779, 192, -86, -770, 80, -367, 59, -278, 974]
Output:
[-565, 4, -989]