Entrée de la carte Python
list_of_inputs=list(map(int,input().split()))
list_of_inputs=list(map(int,input().split()))
a=list(map(int, input().split()))
b=[]
i=0
while i<len(a):
if a[i]==0 or a[i]==3:
b.append(a[i])
a[i]=0
else:
i+=1
print("A =", a)
print(len(b))
n = int(input())
list1 = list(map(int,input().split()))
list2 = list(map(int,input().split()))
list1.extend(list2)
while(n>0):
if(n > 0):
print(list1[n-1] + list1[n+1])
break
else:
print(-1)