In this task you will be given a list of numbers. You should remove any number that is not an integer (whole number). If every number is not an whole number then an empty list ("[]") should be returned. Otherwise, answer with the list of whole numbers separated by comma inside brackets.
Example: [73.059, 7, 10.659, 18.459, 11]
Example solution: [7, 11]
Example explanation: 7 and 11 are the only whole numbers in the list.

Problem: [23.482, -12]

Solution: [-12]
In this task you will be given a list of numbers. You should remove any number that is not an integer (whole number). If every number is not an whole number then an empty list ("[]") should be returned. Otherwise, answer with the list of whole numbers separated by comma inside brackets.
Example: [73.059, 7, 10.659, 18.459, 11]
Example solution: [7, 11]
Example explanation: 7 and 11 are the only whole numbers in the list.

Problem: [23.482, -12]

user
Solution: [-12]
assistant
In this task you will be given a list of numbers. You should remove any number that is not an integer (whole number). If every number is not an whole number then an empty list ("[]") should be returned. Otherwise, answer with the list of whole numbers separated by comma inside brackets.
Example: [73.059, 7, 10.659, 18.459, 11]
Example solution: [7, 11]
Example explanation: 7 and 11 are the only whole numbers in the list.

Problem: [23.482, -12]

Solution: [-12]