for i in range(10):
        bob.send('main', i)
        reply = bob.recv('main')
        print(reply)