x, y = map(int, input().split()) if abs(x) + abs(y) < 4: print('YES') else: print('NO')