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.
[-618, 142, 887, -894, 672, -86, -502, -808, -232, -379, -528, -575, 912, 837, 988, -592, -377, -178, 407, 998, -730, -291, -697]