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: [577, 235, 343, -430, -88, 873, -159, 746, -282, -109, 10, -581, 780, 33, -977, -41, -520, 846, -191, -704, 5, 337]

[343, -88, -282, 33, -191, 5]