You will be given a definition of a task first, then some input of the task.
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.

[119, -655, -762, 56, -851, 346, -972, -979, 988, 789, -730, -393, -59, -511, 83, -509, -251, 368, -877]
Output:
[-979, -393]
You will be given a definition of a task first, then some input of the task.
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.

[119, -655, -762, 56, -851, 346, -972, -979, 988, 789, -730, -393, -59, -511, 83, -509, -251, 368, -877]
Output:
user
[-979, -393]
assistant
You will be given a definition of a task first, then some input of the task.
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.

[119, -655, -762, 56, -851, 346, -972, -979, 988, 789, -730, -393, -59, -511, 83, -509, -251, 368, -877]
Output:
[-979, -393]