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: [861, -58, 406, 346, 882, -136, 392, 981, -242, 972, 545, 224, -61, -897, 689, -79, 589, -174, -352, -578, -280, -31, 661]

SOLUTION: [-242, 545]

PROBLEM: [-767, 872, -57, -426, 693, 650, -800, 205, 839, -545, 181, -842, 331, 120, -746, -76, -800, 212, 124, 351, -554, -209, -783]

SOLUTION: [-767, -545, 181, 212]

PROBLEM: [72, -572, 657, -305, -197, -952, -609, 725, 592, 492, 254, 797, -985, 268, 453, -893, -711, 975, 823, -432, 853, -421, -581]

SOLUTION:
[797]