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: [-785, 209, -590, 288, -412, -96, 551, -262, -983, 952, 511, -212, 95, 879, 440, 681, 162, -246, -210, 455, 573, -767, -683, -712, -123]

[-262, -212, -767]