<reponame>fumiyanll23/AtCoder<gh_stars>0
A, B = map(int, input().split())

if (A*B)%2 == 0:
    print('No')
else:
    print('Yes')
A, B = map(int, input().split())

if (A*B)%2 == 0:
    print('No')
else:
    print('Yes')