Infinite multiples

Problem Name:
Infinite multiples
Site:HackerEarth
Links:
Tags: