#yuki1829 n=int(input()) a,b,c=map(int,input().split()) if a0: print('Yes') else: print('No') else: if c-a<0: print('Yes') else: print('No')