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: [365, -767, -482, 415, -662, -185, 120, 967, -908, -351, 573, 184, 452, -914, -171, 488, 161, -180, 991]

SOLUTION: [-767, -171, 161]

PROBLEM: [-729, 381, -131, 960, 457, 205, 744, -919, -733, 796, 242, -627, 618, -214, 272]

SOLUTION: [-131, -919, 242, 272]

PROBLEM: [189, 3, -608, -112, -627, -150, 818, 24, 727, -84, -910, 271, 764, -960, -377, 10, -968, 50, 598, 629, 90, -993, 447, -623, -941]

SOLUTION:
[3, 818, 727]