Count the Multiples of 3

LightOJ - 1135