in appy and balloons problem

Is the any of them is entered in sorted order

You can ask questions related to live problems in the comments section below the question. It is easier to moderate and answer.

//