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.
[118, 494, 622, -907, 310, 883, -887, 190, -248, 739, 449, -175, -514, -180, -860, 475, 862, -210, 250, -677, -347, 276, -177]