while 1: try: n,m=map(int,input().split()) if n==m==0: print(0,0) bre...
Vito'sfamily T=input() for t in range(int(T)): a=list(map(int,input().split()))...
while True: try: a,b=map(int,input().split()) count=0 carry=0 if a==b==...
The 3n + 1 problem while 1: try: a,b=map(int,input().split()) x,y=min(a,b),...
def ban(a): if a>=10000000: ban(a//10000000) print(' kuti',end="&qu...
List of Conquests T=input() arr=[] for t in range(int(T)): a=list(input().split...
Decode the Mad man arr=list("qwertyuiop[]asdfghjkl;'zxcvbnm,./") while...
arr=[] while 1: try: arr.append(list(input())) except: break m=0 for i in...
TeX Quotes arr=[] while 1: try: arr.append(list(input())) except: break c=...
What is the Probability? T=input() for t in range(int(T)): m,p,k=map(float,inpu...