# No.795 Restrictions!!!!!!!!!!!!!! n, m = [input() for i in range(2)] print('Yes')