Listele a și b sunt ordonate crescător. Ce afișează programul Python de mai jos?
a = [2, 5, 9, 12]
b = [1, 6, 7, 15]
i = 0
j = 0
k = 0
while k < 5:
if a[i] <= b[j]:
x = a[i]
i = i + 1
else:
x = b[j]
j = j + 1
k = k + 1
print(x)