# dict1 = {1: 2, 2: 3, 3: 4, 4: 5}

# sum = 0

# for i in dict1.values():

#     sum = sum+i

# print(sum)





# dict1={1:2, 2:3, 3:4, 4:5}
# sum=0
# for i  in dict1.keys():
#     sum=sum+i
# print(sum)




dic1={1:2,2:3,3:4,5:6}
sum=0
for i in dic1.values():
    sum=sum+i
print(sum)


dic1 = {1: 2, 2: 3, 3: 4, 5: 6}
sum = 0
for i in dic1.keys():
    sum = sum+i
print(sum)
