Given the task definition and input, reply with output. 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.

[462, -622, 283, 2, -621, 722, 162, -949, -734, 446, -162, -180, -46, 715, -924, -320, -955, -804, -878, 61, 904, -916]

[2, -949, -878]
Given the task definition and input, reply with output. 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.

[462, -622, 283, 2, -621, 722, 162, -949, -734, 446, -162, -180, -46, 715, -924, -320, -955, -804, -878, 61, 904, -916]

user
[2, -949, -878]
assistant
Given the task definition and input, reply with output. 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.

[462, -622, 283, 2, -621, 722, 162, -949, -734, 446, -162, -180, -46, 715, -924, -320, -955, -804, -878, 61, 904, -916]

[2, -949, -878]