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.
[-459, 779, 3, 354, 961, 764, 706, 793, -721, 875, -458, -671, 390, 229, 749, 557, 106, -947, -989, 387, -289, -116, -573, -840]