Any idea on why this is happening? through the commented out System.out.println (listedRotations) I know that it is doing the input.readInt () fine, but it's the step after that where it checks about ...