Definition: 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.
Input: [52.99, -52.339, 21, -26.966, 5.017, 3.809, 9.054, -7.406, 4, 49.768]

[21, 4]