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: [-941, 235, -182, -593, 591, 609, -805, 49, -49, 583, 171, 315, 60, -223, 714, -526, 101, -636, -82, 352, 22, -962, 787]

[171, 101, -636, 22, 787]