class HelloWorld { public static void main(String[] args) { int arr[] = {12, 13, 14, 1, 2, 3}; int n=6; for(int i= 0; i