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.
[382, 718, 239, 398, 560, 132, -495, -249, 791, -186, -140, -417, -299, 178, 932, -994, -377, 758, -20, 518, 159, 315, 802]