this is my code, where i am just reversing the loop and then increasing the counter such that for the first occurrence the count value is 1 and hence skips the println() cas