using System.Collections.Generic;
public static void Main()
Console.WriteLine("Hello World");
public List<int> ArrayRotation(List<int> A, int B) {
if(A.Count==B || B % A.Count == 0 )
A = ArrReverseRange (A, 0, A.Count - B -1);
A = ArrReverseRange (A, A.Count - B, A.Count -1);
A = ArrReverseRange (A, 0, A.Count -1);
public List<int> ArrReverseRange(List<int> A, int B, int C) {