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: [-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: [723, 111, -413, 810, -684, -854, -877, -939, -370, -173, 779, -876, -175, -122, 430, -980, -141, 186, -900, -310, 965]

SOLUTION: [111, -939, -141]

PROBLEM: [928, -679, 2, 701, -620, 960, 436, 986, -724, -764, -325, 355, 74, 812, 76, 858, 565, 722, -970, -471]

SOLUTION:
[2, 858, 565]