import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int i, j=0, x=A, y=B; char num; for(i=x; i<=y; i++) { if(i%3==0){ System.out.println(i); }else{ String i_string=String.valueOf(i); for(j=0; j