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: [731, 973, -310, -940, -518, -657, 895, 283, 179, -878, 71, 714, -571, -583, 298, 339, 267, 351, 155, -108]

SOLUTION: [-878]

PROBLEM: [289, -264, 852, 835, -436, 940, -412, -104, 578, -196, 84, -764, -691, -415, 545, -897, 141, 444, -281, 543]

SOLUTION: [545, 141, 444]

PROBLEM: [573, 455, 30, 515, 45, -936, -77, 485, -810, 207, 895, 932, 651, -530, -336, 885, -454]

SOLUTION:
[515, -77, -454]