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.
[-275, -564, 675, 638, 151, 364, 602, -590, 776, 211, 971, 727, 137, -796, 254, -571, -987, 675, -744, 467, -891, -774, 994, 938, 972]