yipo
5/22/2016 - 4:20 PM

Solve Everything :-)

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]))