Given the task definition and input, reply with output. In this task, you are given an input list A. You need to find all the elements of the list that are numbers in the same order as they appear in the list A.

['P', '1581', '3999', '7693', '7291', 's', 'a', '5529', 'l', '3105', '4957', 'E', '7043', '4673', '9655', 'f', '8115', '8105', 'h', 'M', '2497', '7319', 'p', 'T', '7167', '8913', 'D']

1581, 3999, 7693, 7291, 5529, 3105, 4957, 7043, 4673, 9655, 8115, 8105, 2497, 7319, 7167, 8913
Given the task definition and input, reply with output. In this task, you are given an input list A. You need to find all the elements of the list that are numbers in the same order as they appear in the list A.

['P', '1581', '3999', '7693', '7291', 's', 'a', '5529', 'l', '3105', '4957', 'E', '7043', '4673', '9655', 'f', '8115', '8105', 'h', 'M', '2497', '7319', 'p', 'T', '7167', '8913', 'D']

user
1581, 3999, 7693, 7291, 5529, 3105, 4957, 7043, 4673, 9655, 8115, 8105, 2497, 7319, 7167, 8913
assistant
Given the task definition and input, reply with output. In this task, you are given an input list A. You need to find all the elements of the list that are numbers in the same order as they appear in the list A.

['P', '1581', '3999', '7693', '7291', 's', 'a', '5529', 'l', '3105', '4957', 'E', '7043', '4673', '9655', 'f', '8115', '8105', 'h', 'M', '2497', '7319', 'p', 'T', '7167', '8913', 'D']

1581, 3999, 7693, 7291, 5529, 3105, 4957, 7043, 4673, 9655, 8115, 8105, 2497, 7319, 7167, 8913