{"raw_statement":[{"iden":"problem statement","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$."},{"iden":"constraints","content":"*   $N$ is an integer between $-10^{18}$ and $10^{18}$ (inclusive)."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$"},{"iden":"sample input 1","content":"998244354"},{"iden":"sample output 1","content":"1\n\n$998244354-1 = 998244353$ is a multiple of $998244353$, so the condition is satisfied."},{"iden":"sample input 2","content":"\\-9982443534"},{"iden":"sample output 2","content":"998244349\n\n$-9982443534-998244349= -10980687883$ is a multiple of $998244353$, so the condition is satisfied."}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}