Problem:

C: 祈祷 (Pray)

とある双子は、コンテスト前に祈祷をすることで有名である。

4 つの整数 $H, W, X, Y$ があって、$H \times W$ と $x + y$ が両方とも奇数だと縁起が悪いらしい。

入力

4 つの整数 $H, W, X, Y$ が空白区切りで与えられる。

出力

縁起が悪いなら "No"、そうでないなら "Yes" を出力しなさい。ただし、最後の改行を忘れないこと。

制約

    
$H, W, X, Y$ は $1$ 以上 $100$ 以下の整数

入力例1

3 5 1 4

出力例1

No

$3 \times 5 = 15$, $1 + 4 = 5$ で、両方とも奇数なので、縁起が悪いです。

入力例2

3 5 2 4

出力例2

Yes

$3 \times 5 = 15$ で奇数ですが、$2 + 4 = 6$ で偶数なので、縁起は悪くないです。



Sample input:
3 5 1 4


Sample output:
No

Submission status: Accepted

Solution code:
H,W,x,y=map(int,input().split())
if H*W%2==1 and (x+y)%2==1:
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
h, w, x, y = map(int, input().split())
if h * w % 2 == 1 and (x+y) % 2 == 1:
  print("No")
else:
  print("Yes")

Submission status: Accepted

Solution code:
H, W, X, Y = [int(x) for x in input().split()]

ans = 'No' if (H * W) % 2 + (X + Y) % 2 == 2 else 'Yes'
print(ans)

Submission status: Accepted

Solution code:
h, w, x, y = map(int, input().split())
print('No' if h*w % 2 == 1 and (x+y) % 2 == 1 else 'Yes')

Submission status: Accepted

Solution code:
h,w,x,y = map(int,input().split())
print('No' if (h*w)%2==1 and (x+y)%2==1 else 'Yes')

Submission status: Accepted

Solution code:
H, W, X, Y = map(int, input().split())

if ((H * W) * (X + Y)) % 2:
    print('No')
else:
    print('Yes')

Submission status: Accepted

Solution code:
H,W,x,y=map(int,input().split())
if (H*W)%2==1 and (x+y)%2==1:
  print("No")
else:
  print("Yes")

Submission status: Accepted

Solution code:
h,w,x,y=map(int,input().split())

if h*w%2==1 and (x+y)%2==1:
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
H, W, X, Y = map(int, input().split())

if ((H * W) * (X + Y)) % 2:
    print('No')
else:
    print('Yes')

Submission status: Accepted

Solution code:
h,w,x,y = map(int,input().split())
print('No' if h * w % 2 == 1 and (x + y) % 2 == 1 else 'Yes')

Submission status: Accepted

Solution code:
h,w,x,y=map(int,input().split())
print(["No","Yes"][h*w%2==0 or(x+y)%2==0])

Submission status: Accepted

Solution code:
a,b,c,d = map(int,input().split())
if a*b%2==1 and (c+d)%2 == 1:
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
a,b,c,d=map(int,input().split())
print("No" if ((a*b)%2)*((c+d)%2)==1 else "Yes")

Submission status: Accepted

Solution code:
h,w,x,y = map(int ,input().split())
if (h*w) % 2 + (x + y) % 2 == 2:
    print('No')
else:
    print('Yes')

Submission status: Accepted

Solution code:
h,w,x,y=map(int,input().split());print(["Yes","No"][h*w%2*(x+y)%2])