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.
--------
Question: [-183, 565, 828, 418, 562, 565, 507, 877, -967, 116, 855, 219, 420, -794, 745, -161, 799]

Answer: [565, 828, 565, -161]


Question: [775, 71, -369, 700, -731, 300, -772, 172, 55, 379, -305, 517, 302, -991, 521, -777, 710, -337, -220, 59, -950, -152, -268, 72]

Answer: [55, -777]


Question: [-960, -81, 844, -241, -971, -177, -795, 630, 270, 271, -640, -483, 401, 631, -331, -21, 816, 716, -727]

Answer:
[-727]