{"raw_statement":[{"iden":"statement","content":"This is interactive problem.\n\nIn the Interactive Casino game \"Binary Roulette\" is very popular. Here are the rules of the game.\n\nYou found on the Algoleaks site that each next integer on the sloth machine is generated using the formula  . Source of x1, unluckly, on this site is not revealed. \n\nYour goal is to ensure the victory.\n\nYour program will receive on the input one integer — number of tokens You currently have or  - 1 in case when game is over by some reason.\n\nIf you received  - 1, immediately exit your program with code 0 (otherwise you may get the random verdict from the system). Otherwise, if you received integer T > 0, print one integer between 1 and T, inclusively — your next bet. Dont forget to print end-of-line character and _flush_ the output.\n\n"},{"iden":"input","content":"Your program will receive on the input one integer — number of tokens You currently have or  - 1 in case when game is over by some reason."},{"iden":"output","content":"If you received  - 1, immediately exit your program with code 0 (otherwise you may get the random verdict from the system). Otherwise, if you received integer T > 0, print one integer between 1 and T, inclusively — your next bet. Dont forget to print end-of-line character and _flush_ the output."}],"translated_statement":null,"sample_group":[],"show_order":[],"formal_statement":"**Definitions**  \nLet $ T \\in \\mathbb{Z} $ be the current number of tokens, or $ T = -1 $ indicating game over.\n\n**Constraints**  \n- If $ T = -1 $: terminate immediately.  \n- If $ T > 0 $: output an integer $ b $ such that $ 1 \\leq b \\leq T $.\n\n**Objective**  \nFor each input $ T > 0 $, output any integer $ b \\in [1, T] $.","simple_statement":"You are playing Binary Roulette.  \nYou get a number T (your tokens) or -1 if game over.  \nIf you get -1, exit.  \nIf you get T > 0, bet any integer from 1 to T.  \nFlush output after each bet.","has_page_source":false}