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.
[-262, -765, -332, 308, -216, -462, -188, 318, 823, -254, 844, 760, -560, -575, 648, 904, 835, 885, -965, 495, 380, -980, 967, 285, -509]