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.
[-8, 459, -875, 14, 389, 52, 586, -741, -407, 248, 598, -252, 747, -738, 654, 977, 95, 800, 179, 713, -147, -899, 917, 395]