Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- x = [int(i) for i in input().split()]
- a = [int(i) for i in input().split()]
- x.insert(a[1]-1,a[0])
- print(" ".join([str(i) for i in x]))
- input()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement