atcoder#ABC253D. [ABC253D] FizzBuzz Sum Hard
[ABC253D] FizzBuzz Sum Hard
Score : points
Problem Statement
Find the sum of integers between and (inclusive) that are not multiples of or .
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
10 3 5
22
The integers between and (inclusive) that are not multiples of or are , and , whose sum is .
1000000000 314 159
495273003954006262