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: [6, 352, -979, 885, -435, -509, 594, -311, -379, -654, -100, 194, 365, 764, 785, 487, 709, -744, -950]

SOLUTION: [6, -979]

PROBLEM: [-994, -311, 678, -111, -935, 959, 319, 293, -653, -261, 639, -847, 847, 663, 100, -492, -779, 646, 594, 637, 495, -522]

SOLUTION: [-111, 959, 646]

PROBLEM: [-870, -127, 20, -804, -706, 86, 955, 336, -463, -951, -135, 766, -516, -851, -615, 217, 696, -438, -16]

SOLUTION:
[696]