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.
[251, 341, 877, -405, 705, -46, -465, -112, 802, -629, 208, -874, -311, 955, 479, 794, -957, 728, -708, -367, -220, 180, 477, 667]