s = input() a = list(s.split()) if len(a)==len(s)//2+1: print('Yes') else: print('No')