take inout from python in codechef code example
Example: how to take input for dictionary in python
for i in range(3):
data = input().split(' ')
d[data[0]] = int(data[1])
for i in range(3):
data = input().split(' ')
d[data[0]] = int(data[1])