about summary refs log tree commit diff
path: root/codechef/dynamo.py
blob: 429a60421e2f67c3d9747cdea9f27ea106fc1228 (plain) (blame)
1
2
3
4
5
6
7
#!/usr/bin/env python
for t in range(int(input())):
    n = 10 ** int(input())
    print(n*2 + int(input()), flush=True)
    print(n - int(input()), flush=True)
    print(n - int(input()), flush=True)
    input()