import sys input = sys.stdin.readline N=int(input()) a,b,c=map(int,input().split()) if aa: print("Yes") else: print("No") else: if c