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: [-766, 270, 603, -702, 903, -171, -798, -240, -558, -394, 672, -543, 666, -243, -872, -924, -96, -778]

SOLUTION: [-171, 666]

PROBLEM: [-179, -574, -141, 881, -48, -392, 378, 359, -498, 470, 617, -338, -429, -412, -249, -855, 123, -127, 469, -956, -463, 733, -480, 365, 822]

SOLUTION: [-141]

PROBLEM: [29, -858, -239, 454, 978, 584, -336, -494, 852, -461, 838, -21, 883, 591, 581, -410, 250, 961, 411, 254, -789, 608, 704, 700, -273]

SOLUTION:
[-858, 454, -494, 838]