{"raw_statement":[{"iden":"statement","content":"In the game, Deliv-e-droid, a robot droid has to deliver packages while avoiding obstacles.\n\nAt the end of the game, the final score is calculated based on the following point system:\n- Gain $50$ points for every package delivered.\n- Lose $10$ points for every collision with an obstacle.\n- Earn a bonus $500$ points if the number of packages delivered is greater than the number of collisions with obstacles.\n\nYour job is to determine the final score at the end of a game.\n"},{"iden":"input","content":"The input will consist of two lines. The first line will contain a non-negative integer $P$,representing the number of packages delivered. The second line will contain a non-negative integer $C$,representing the number of collisions with obstacles."},{"iden":"output","content":"The output will consist of a single integer $F$,representing the final score."}],"translated_statement":null,"sample_group":[["5\n2","730"],["0\n10","-100"]],"show_order":[],"formal_statement":null,"simple_statement":null,"has_page_source":false}