Click here to read the complete problem statement.
Is the question asking for numbers that are divisible by at least one of the three numbers? Or is it asking for numbers divisible only by one of the three numbers excluding the rest?
Edit: Never mind, I solved it.