input_list = input().split() print('Yes') if input_list[0] in {'4','5'} else print('No')