Definition: 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.
Input: [505, 48, 717, -549, 169, 507, 111, -774, 683, -667, 595, 470, 607, 165, 581, 301]

[505, 717, 111, 595]