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: [6, 352, -979, 885, -435, -509, 594, -311, -379, -654, -100, 194, 365, 764, 785, 487, 709, -744, -950]

SOLUTION: [6, -979]

PROBLEM: [-659, -956, 539, -269, 659, -187, 76, 275, 651, -155, -287, -653, 555, -366, -238]

SOLUTION: [555]

PROBLEM: [-764, 301, -727, 58, -819, -250, 516, 942, -66, -203, -693, -422, 854, 144, -845, -41, -171, -825]

SOLUTION:
[-727, -66, -171]