The output seems to be right in intellij all the numbers greater than 10 are being removed but the last condition isn't verifying, need help.