def main(): i = input() lst = i.split(' ') N,M = map(int,lst) print('Yes') if __name__ == '__main__': main()