Q=int(input()) for _ in range(Q): V,X,f1,f2,q,r=map(int,input().split()) if f1>=f2: print('Zero') continue if X+(f2-f1)*r>V: print('Overflow') continue tin=r*f2 tout=q*f1 if tin>tout: print('Overflow') elif tin