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: [-89, 883, -671, -778, 939, -232, 916, 453, 615, -493, 209, 796, -219, -629, -459, -618, -9, 817]

SOLUTION: [939, -232, -9]

PROBLEM: [332, -493, 380, -13, -485, 981, -742, -833, 838, 679, -273, -153, -674, 554, -315, 40, -612]

SOLUTION:
[838]