Solve Everything :-)
s = int(input()) for i in range(s): prediction = map(int, input().split()) answer = all(x > 0 for x in prediction) print('Set #{}: {}'.format(i + 1, {True: 'Yes', False: 'No'}[answer]))