{"problem":{"name":"Modulo Number","description":{"content":"You are given an integer $N$ between $-10^{18}$ and $10^{18}$ (inclusive). Find an integer $x$ between $0$ and $998244353 - 1$ (inclusive) that satisfies the following condition. It can be proved that","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc266_b"},"statements":[{"statement_type":"Markdown","content":"You are given an integer $N$ between $-10^{18}$ and $10^{18}$ (inclusive).\nFind an integer $x$ between $0$ and $998244353 - 1$ (inclusive) that satisfies the following condition. It can be proved that such an integer is unique.\n\n*   $N-x$ is a multiple of $998244353$.\n\n## Constraints\n\n*   $N$ is an integer between $-10^{18}$ and $10^{18}$ (inclusive).\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc266_b","tags":[],"sample_group":[["998244354","1\n\n$998244354-1 = 998244353$ is a multiple of $998244353$, so the condition is satisfied."],["\\-9982443534","998244349\n\n$-9982443534-998244349= -10980687883$ is a multiple of $998244353$, so the condition is satisfied."]],"created_at":"2026-03-03 11:01:14"}}