{"raw_statement":[{"iden":"problem statement","content":"Find the sum of integers between $1$ and $N$ (inclusive) that are not multiples of $A$ or $B$."},{"iden":"constraints","content":"*   $1 \\leq N, A,B \\leq 10^9$\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$N$ $A$ $B$"},{"iden":"sample input 1","content":"10 3 5"},{"iden":"sample output 1","content":"22\n\nThe integers between $1$ and $10$ (inclusive) that are not multiples of $3$ or $5$ are $1,2,4,7$, and $8$, whose sum is $1+2+4+7+8 =22$."},{"iden":"sample input 2","content":"1000000000 314 159"},{"iden":"sample output 2","content":"495273003954006262"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}