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: [40, -9, -21, -98, -2.595, -4, 34, 25.96, 50, -47.52, 11.509]

[40, -9, -21, -98, -4, 34, 50]