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: [965, -563, -714, 71, -837, -808, 617, 942, -846, 353, -663, -440, 273, -354, 287, -678, 138, 494, 214, -460, 223, 102, -567, 618]

SOLUTION: [-808, 353, 494]

PROBLEM: [383, -319, 812, 838, 883, -520, -553, -207, -566, -441, 615, 856, 787, -629, 555, -396, -154, 52, 321, 442, 767, -224, -663, 241, 312]

SOLUTION:
[383, 838, 787, 555, 767]