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.
One example: [73.059, 7, 10.659, 18.459, 11]
Solution is here: [7, 11]
Explanation: 7 and 11 are the only whole numbers in the list.

Now, solve this: [44.839, -28.247, -82]
Solution:
[-82]
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.
One example: [73.059, 7, 10.659, 18.459, 11]
Solution is here: [7, 11]
Explanation: 7 and 11 are the only whole numbers in the list.

Now, solve this: [44.839, -28.247, -82]
Solution:
user
[-82]
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.
One example: [73.059, 7, 10.659, 18.459, 11]
Solution is here: [7, 11]
Explanation: 7 and 11 are the only whole numbers in the list.

Now, solve this: [44.839, -28.247, -82]
Solution:
[-82]