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: [510, 821, -960, 351, 545, -491, 35, 584, 510, 79, 22, -52, -30, -190, -162, 692, 162, 761, -547, 171, 758, 388]

SOLUTION: [545, 22, 171]

PROBLEM: [460, 919, -470, -566, 731, 203, -490, 276, 789, -693, -24, 585, 146, 23, 682, -627, 387, 352, -926, 221, -68, -330, -722]

SOLUTION: [919, 585]

PROBLEM: [460, -884, 685, 51, -475, -774, -333, -441, 707, 156, 877, -289, 365, 597, -510, -100, 32, 281, 327, 297, -305]

SOLUTION:
[-333, 707]