Run ID:79467
提交时间:2024-07-06 18:15:00
n = int(input()) a = input().split() x = int(input()) last = a.pop() a.insert(x-1,last) print(" ".join(a))