The Chef has reached the finals of the Annual Inter-school Declamation contest.

For the finals, students were asked to prepare 10 topics. However, Chef was only able to prepare three topics, numbered A, B and C — he is totally blank about the other topics. This means Chef can only win the contest if he gets the topics A, B or C to speak about.

On the contest day, Chef gets topic X. Determine whether Chef has any chances of winning the competition.

Print "Yes" if it is possible for Chef to win the contest, else print "No".

You may print each character of the string in either uppercase or lowercase (for example, the strings yEs, yes, Yes, and YES will all be treated as identical).

------ Input Format ------ 

- The first and only line of input will contain a single line containing four space-separated integers A, B, C, and X — the three topics Chef has prepared and the topic that was given to him on contest day.

------ Output Format ------ 

- For each testcase, output in a single line "Yes" or "No".
- You may print each character of the string in either uppercase or lowercase (for example, the strings yEs, yes, Yes, and YES will all be treated as identical).

------ Constraints ------ 

$1 ≤ A,B,C,X ≤ 10$
$A, B, C$ are distinct.

------ subtasks ------ 

Subtask #1 (100 points): Original constraints

----- Sample Input 1 ------ 
2 3 7 3
----- Sample Output 1 ------ 
Yes
----- explanation 1 ------ 
Chef had prepared the topics: $2, 3, 7$. Chef gets to speak on the topic: $3$. Since Chef had already prepared this, there is a chance that he can win the contest.

----- Sample Input 2 ------ 
4 6 8 5
----- Sample Output 2 ------ 
No
----- explanation 2 ------ 
Chef had prepared the topics: $4, 6, 8$. Chef gets to speak on the topic: $5$. Since Chef didn't prepare this topic, there is no chance that he can win the contest.

Difficulty: EASY

Starter code:

Solutions:
(a, b, c, d) = map(int, input().split())
if a == d or b == d or c == d:
	print('Yes')
else:
	print('No')


(A, B, C, X) = input().split()
A = int(A)
B = int(B)
C = int(C)
X = int(X)
if A in range(1, 11) and B in range(1, 11) and (C in range(1, 11)) and (X in range(1, 11)):
	if A != B and B != C and (A != C):
		if A == X or B == X or C == X:
			print('Yes')
		else:
			print('No')


(A, B, C, X) = map(int, input().split())
if X == A or X == B or X == C:
	print('Yes')
else:
	print('No')


(a, b, c, x) = input().split()
if x == a or x == b or x == c:
	print('Yes')
else:
	print('No')


(a, b, c, x) = map(int, input().split())
if x in (a, b, c):
	print('Yes')
else:
	print('No')


n = input().split()
if int(n[3]) == int(n[2]) or int(n[3]) == int(n[1]) or int(n[3]) == int(n[0]):
	print('Yes')
else:
	print('No')


a = list(set(map(int, input().split())))
l = len(a)
if l == 4:
	print('No')
else:
	print('Yes')


(g, h, i, j) = map(int, input().split())
if j == g or j == h or j == i:
	print('Yes')
else:
	print('No')


(a, b, c, d) = input().split()
x = int(a)
y = int(b)
z = int(c)
m = int(d)
if x == y or x == z or x == m or (y == z) or (y == m) or (z == m):
	print('Yes')
else:
	print('No')


(a, b, c, x) = list(map(int, input().strip().split()))
if a == x or b == x or c == x:
	print('Yes')
else:
	print('No')


(x, y, z, a) = map(int, input().split())
if a == x or a == y or a == z:
	print('Yes')
else:
	print('No')