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: [729, 963, 612, -581, -504, 565, 635, 8, -461, 76, 725, 463, -914, 283, -512, -709, 501, 229, 947, -120]

SOLUTION: [565, 8]

PROBLEM: [308, 14, -774, 826, -102, -780, 222, -2, 27, 527, 425, -497, 73, -846, 825, 32, 682, -149, 932, 112]

SOLUTION: [222, -2]

PROBLEM: [787, 542, -582, 500, 613, -262, 447, -641, -155, -242, 735, 612, -837, 571, 737, 967, 418, 44, 632, -396]

SOLUTION:
[787, -262, -242, 737, 44]