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.
[-397, -146, 42, 902, 802, 561, 534, -399, -578, -129, -828, 836, 323, -277, -312, -894, 595, -522, -259, -223, -727, -575, 268, 571, -725]