Definition: 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.
Input: [-178, 135, -484, -141, -530, -517, -63, -222, 783, -495, -840, 269, -555, 335, -797, -767, 656, 145, -978, -122, -998]

[-484, -141, -222, -555, -797, -767, 656]