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.
[-297, -830, 362, -958, -642, 5, -984, 395, -396, -378, -921, -245, -912, 365, 48, -648, -212, -693, -196, 531, -309, -740, -910, 783]