#符号のみ確認する嘘解法チェック J=lambda:list(map(int,input().split())) N,K,L=J() print("YNEOS"[(K^L)&1::2])