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.
[-202, -767, 979, -395, 469, 149, -561, 440, -587, 583, -771, -5, 911, -702, 959, 599, 131, -965, -55, -356, 603, 934, -98, 797]