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.
[27, 66, -242, 10, -839, 964, 184, 310, 565, 181, -933, 791, 138, -204, 747, -711, 819, -427, 33, 708, 141, -291, 970, 368]