A = input() B = input() print('Yes')