public class MultiplosDeTres {
public static void main(String[] args) {
for(int divisor = 1; divisor <= 100; divisor++){
if(divisor % 3 == 0){
System.out.print(" " + divisor);
}
}
}
}