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: [-512, 156, 810, 872, 564, 802, 286, -780, -29, -945, 416, 53, 37, 54, 777, 231, -187, 864, -777, 10, -544, 620, -827]

Answer: [777, -777]


Question: [-949, 211, -61, -635, 773, -935, 170, 162, -581, -326, 391, 611, 756, -254, 372, -628]

Answer: [-949]


Question: [-312, -447, 200, -337, -774, 539, 868, -313, -353, -679, 407, 437, 636, 942, 699, 307, 738, -864, 442]

Answer:
[868, -313, -353, 636]