"Fun with Rotation" - Codechef September Challenge
Your outer class name should correspond to the type of program.  There's no point in calling it Main since you already have to have a main() method.  Of course, you'll have to be sure that your .java filename and outer class name are the same.
You have a lot of excess whitespace, and I don't think it's a copy/paste error.  Just get rid of all this whitespace so that it's easier for others to read.

On the other hand, this could use more whitespace:


for(int i=0;i&lt;n;i++)



It's good to separate each operator and operand so that the line is easier to read.  Although keeping them together saves horizontal length, the line itself is already short, and even then there's little reason to cram everything together.

for (int i = 0; i &lt; n; i++)

You're using single-character variable names such as n and s, and it's not at all clear what they mean in this code.  If it were a tiny program, then it may be okay.  But for this program, it's best to use meaningful names so that the code is self-documenting.