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: [540, 653, 989, -811, -796, -180, -380, -527, 857, 940, -234, 654, -957, -577, -358, -527, -73]

SOLUTION: [989]

PROBLEM: [224, -982, -76, 849, -12, -140, 321, 186, 547, 241, -35, 391, -845, -427, -10, 272, -812, -495, 929, 815, 760, 98]

SOLUTION: [272, 929]

PROBLEM: [429, -750, 283, 922, 661, -728, 332, -819, -577, 929, 137, -924, 669, -529, -145, 882, 71]

SOLUTION:
[929]