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: [252, 980, 129, 634, 717, -981, -701, -623, -682, 218, 930, 354, -444, -819, 737, -529, -810, -454, -440, 907, 161]

[252, 717, -444, 737, -454, 161]