#include <cstdio>
#include <cstdlib>
#include <cstring>

using namespace std;

int r, c;

void init()
{
    while (scanf("%d%d", &r, &c), r || c)
    {
        if (r == 1 || c == 1) puts("no");
        else puts("yes");
    }
}

int main()
{
    init();
    return 0;
}