n1=2 n2=3 n3=4 n4=3 n5=3 n6=2 n7=3 n8=3 n9=3 n10=3 n11=2 n12=1 l=[n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12] sum=0 for i in range(len(l)): sum+=l[i] print(sum)