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.
[-165, 816, -857, 231, 204, 478, 635, -185, 422, -435, 337, 241, -316, 749, 901, -462, 563, 376, 171, -54]