#K51807. Sum of Multiples
Sum of Multiples
Sum of Multiples
This problem requires you to compute the sum of all multiples of \(3\) or \(5\) that are less than a given non-negative integer \(n\). For example, if \(n=10\), the multiples are 3, 5, 6, and 9, yielding a sum of 23.
Please note that the input will be provided via standard input and the output should be printed to standard output.
inputFormat
The input consists of a single integer \(n\) (\(0 \leq n \leq 10^9\)) read from standard input.
outputFormat
Output a single integer representing the sum of all multiples of \(3\) or \(5\) that are less than \(n\).
## sample10
23