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: [-157, -681, 838, 522, 745, 313, -12, -994, -684, -246, 216, 242, 167, 396, 916, 866, 47, -460, -759, 551, 256, 295, 334, -366, 262]

Answer: [838, 313, 242, 262]

Question: [844, -324, 588, 588, 967, 837, 125, 592, 961, -707, -602, 329, -678, -397, 1000, 113, -305, -673, 92, 579, 600]

Answer: [-707]

Question: [780, -85, 441, 36, -151, -43, 487, 353, -278, -273, -643, 88, 764, -359, 339, -815, 973, -7, -384, -68, -872, -162]

Answer:
[-151, 353, 88, -7]