n = int(input()) h, w = map(int, input().split()) ans = h == 1 or w == 1 or h == w print('Yes' if ans else 'No')