The Resistance is organizing ships to confront the Empire. R2D2 has a list with all the ships. The Resistance will attack only with the ships whose ammunition is greater than a given parameter ammunitionLimit. Please help R2D2 to get the list of names of these ships using the infix operator battle.
println(listOfShip battle 50)