def split_Arr(a,n,k): b = a[:k] return (a[k::]+b[::])