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: [-89, 883, -671, -778, 939, -232, 916, 453, 615, -493, 209, 796, -219, -629, -459, -618, -9, 817]

SOLUTION: [939, -232, -9]

PROBLEM: [320, 726, -562, 170, 712, -485, 260, -627, -230, 451, -939, -423, -237, 916, 877, -1, 809, 465]

SOLUTION:
[-939, -1]