$/=$";($a,$b)=<>;$_%3&&!/3/||print"$_\n"for$a..$b