Integer Divisibility

LightOJ - 1078