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: [185, 547, 971, 740, -822, -528, -887, -110, -619, -362, 765, -501, -692, -482, 293, 358, 74, -167]

SOLUTION: []

PROBLEM: [-699, -70, 465, 99, 413, -456, 115, 773, 313, 846, 576, 208, -366, -265, -388, -610, -481, -190, 129, -67, -474, 986, 28, -839, 83]

SOLUTION: [99, 313, -474]

PROBLEM: [899, -411, -536, -782, -671, 170, 170, 989, 221, -496, 813, 256, 925, 661, -27, -52, -710, -147, -819, 316, -450]

SOLUTION:
[989]