Run ID:57758
提交时间:2023-09-10 14:22:45
n=int(input()) arr=[] for x in map(int,input().split()): arr.append(x) x=int(input()) res=[] for i in range (x): res=[] res.append(arr[n-1]) for j in range(0,n-1): res.append(arr[j]) arr=res for i in res: print(i,end=" ")