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.
[-565, -363, -556, 618, -50, 130, 351, -393, -222, -181, 331, -648, -82, 344, 961, 893, 482, -538, -229, 88, 152, 823, -277, -368, 129]