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: [-847, 786, 243, 13, -675, 865, -760, 664, -47, 609, -792, 30, -934, 721, 978, -508, 78, 517, 579, -781, -718, -177, -897, -943, 666]

SOLUTION: [666]

PROBLEM: [376, 617, -704, -504, -852, -839, -592, -436, 628, -800, 528, 436, -495, -798, -884, 996, 265, -311, -736, -370, -556, 146]

SOLUTION: []

PROBLEM: [188, 577, -775, 426, -813, -724, 515, -699, 644, 445, 565, 773, -242, -775, 777]

SOLUTION:
[515, 565, -242, 777]