#include<stdio.h>
int main()
{
	int r,c;
	while(scanf("%d%d",&r,&c)!=EOF)
	{
		if(r==0&&c==0)
			break;
		if(r==1||c==1)
		{
			if(r*c==2)
				printf("yes\n");
			else
				printf("no\n");
		}
		else
		{
			if(r*c%2==0)
				printf("yes\n");
			else
				printf("no\n");
		}
	}
	return 0;
}