Run ID:79493

提交时间:2024-07-07 09:16:21

n = int(input()) a = list(map(int,input().split())) x,y =map(int,input().split()) a[x- 1] = y print(*a)