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: [-43, -460, -706, -61, 273, -352, 786, -960, 981, 335, 108, 901, 633, 7, 773, -331, 309, -467, -871, -370, 396, 542]
Output:
[7]