a, b, c = sorted(map(int, input().split()))
print('Yes' if a < c and (a == b or b == c) else 'No') a, b, c = sorted(map(int, input().split())) a sorted(map(int, input().split())) sorted map(int, input().split()) map int input().split() ().split () input split b c print('Yes' if a < c and (a == b or b == c) else 'No') print 'Yes' if a < c and (a == b or b == c) else 'No' a < c and (a == b or b == c) a < c a c a == b or b == c a == b a b b == c b c 'Yes' 'No' c = sorted(map(int, input().split())) sorted(map(int, input().split())) c a, b, c = sorted(map(int, input().split())) sorted(map(int, input().split())) a b, c = sorted(map(int, input().split())) sorted(map(int, input().split())) b
a, b, c = sorted(map(int, input().split()))
print('Yes' if a < c and (a == b or b == c) else 'No')
