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.
One example is below.
Q: [77, 999, 855, 10, 56, 121, 801]
A: [77, 999, 121]
Rationale: The integers 77, 999, and 121 are the only integers in the input list that start and end with the same digit.
Q: [85, 547, -430, 408, 848, 789, 80, 451, 670, 190, 623, 299, -329, -7, -78, -539]
A:
[848, -7]