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.
Input: [782, -709, -552, 2, -86, -101, 824, -744, -979, 7, -946, -943, 491, 383, 116, -334, -116, -108, -618, -155, -268, 109, 321]

[2, -101, -979, 7, 383]