TASK 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.
PROBLEM: [501, -146, 96, -940, -128, -43, 349, -440, 469, -209, 796, -231, 56, -333, 41, -955, -852, 159, 651, 122]

SOLUTION: [-333]

PROBLEM: [-849, 248, -104, -854, 909, -523, -577, -758, 297, 441, -302, -102, -529, -20, 963]

SOLUTION: [909]

PROBLEM: [510, 900, -959, 496, -331, -682, 429, 269, -219, 104, -847, 205, -524, 346, 337, -441, 63, -960, 255, -96, -273, -699, 941, -264]

SOLUTION:
[-959]