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: [798, 149, 519, -530, 493, 879, -687, -620, -809, -28, 96, -736, 643, 948, 104, 643, 864, -811, -18, 822, -750, -495, 592, -99]

SOLUTION: [-99]

PROBLEM: [13, -28, -585, -652, 812, -589, -323, -580, 351, 131, -217, 951, -493, -533, 749, -857, -593]

SOLUTION: [-585, -323, 131]

PROBLEM: [-827, 83, -64, -166, -575, 463, -509, 880, -522, -56, 197, -916, -934, -615, -931, -482, 198, 647, 285, 721, 246, 963, 176, 387]

SOLUTION:
[-575]