{"problem":{"name":"I. Interactive Casino","description":{"content":"This is interactive problem. In the Interactive Casino game \"Binary Roulette\" is very popular. Here are the rules of the game. You found on the Algoleaks site that each next integer on the sloth mac","description_type":"Markdown"},"platform":"Codeforces","limit":{"time_limit":1000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"CF10091I"},"statements":[{"statement_type":"Markdown","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## Input\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\n## Output\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[samples]","is_translate":false,"language":"English"},{"statement_type":"Markdown","content":"**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] $.","is_translate":false,"language":"Formal"}],"meta":{"iden":"CF10091I","tags":[],"sample_group":[],"created_at":"2026-03-03 11:00:39"}}