public class Solution1 { public static void main(String[] args) { int[] R={1,2,3,6,8,9,12}; for(int i:R) { System.out.println(i); } } }