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.
[315, -114, 964, -871, 328, -20, 40, -181, 984, -418, -688, 189, -367, -424, 121, 613, -267, 233, -227, 133, -393, 635, -313]