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: [-387, 650, 604, 272, -208, -560, -661, 396, 973, -885, -133, -854, 463, -520, -187, 824, -946]

SOLUTION: [272]

PROBLEM: [-548, 60, 227, -921, -326, -335, -85, -235, 629, 330, -694, 915, -711, 760, 715, 27, 433, 3, -40, 45, 144, -18]

SOLUTION: [3]

PROBLEM: [-315, 266, -357, 546, 631, 407, 31, -734, 461, -852, 529, 647, -841, -38, 947, 789, 923, -541, -196, -901, 772, 428, -22]

SOLUTION:
[-22]