Instructions: 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: [959, 354, -435, -882, -86, 466, -646, 20, -12, -26, -419, 752, 537, 727, 895, 242, 497, -624, 449, -35, 593, 183, -698, -523, 717]
Output:
[959, -646, 727, 242, 717]