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: [-587, -231, 519, 111, 636, -363, -391, 518, 559, -45, -363, 504, 214, -352, -931, 972, -179, -827, 111]

SOLUTION: [111, 636, -363, -363, 111]

PROBLEM: [71, -611, -79, 192, -827, -646, -419, -275, 98, -253, -655, -454, 779, -122, -913, -695, -792, 654, 50, 83, -692, 697, 639, 592]

SOLUTION: [-646, -454]

PROBLEM: [-214, 818, -664, 250, 118, -239, 605, 976, -620, -244, 386, 140, 717, 571, 41]

SOLUTION:
[818, 717]