n = int(input()) ok = False for ai in map(int, input().split()): if ai != 0: ok = ai > 0 print('Yes' if ok else 'No')