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: [731, -241, -81, -158, 526, -315, -364, -507, 299, 633, -978, -990, -530, 228, -772, -289, 69, 51, 218, -539, -773, -275, -178, 218, -941]

Answer: []

Question: [-398, 621, 782, 317, -508, 548, 666, -516, -943, -651, -180, -831, 78, 424, -878, -252, 185, 409, -539, -137, -374, 947, 170, 105]

Answer: [666, 424, -878, -252]

Question: [-730, -175, 397, -941, 655, -847, -18, -989, -224, 197, 400, 791, -215, -591, 639, 971, -365, 127, 218, 558, 499, 753, -239, 718]

Answer:
[-989]