n = int(input())
l = list(map(int,input().split()))
for i in range(0,n):
l[i]=l[i]+1
print(l[i])
print(l)
biA9IGludChpbnB1dCgpKQpsID0gbGlzdChtYXAoaW50LGlucHV0KCkuc3BsaXQoKSkpCgpmb3IgaSBpbiByYW5nZSgwLG4pOgoJbFtpXT1sW2ldKzEKCXByaW50KGxbaV0pCnByaW50KGwp