Run ID:79492

提交时间:2024-07-07 08:59:45

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