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: [671, -618, 368, 833, -250, -82, -661, 641, 305, -349, -852, 168, 661, -805, -389, 822, -340, 531, 918]

SOLUTION: []

PROBLEM: [-966, 87, 173, -129, -772, -742, 859, 289, 948, 726, 258, 4, 617, 618, 335, 602]

SOLUTION: [4]

PROBLEM: [-130, -305, -160, -954, -893, -1, 481, 550, -784, -797, -667, -161, 582, -904, -523, -595, 484, 915, -483, 725, -755, 843, 383, -7, 958]

SOLUTION:
[-1, -797, -161, -595, 484, 383, -7]