#include<bits/stdc++.h>
int main()
{
    int A,B,area;
    scanf("%d %d",&A,&B);
    area=A*B-A-B+1;
    printf("%d\n",area);
    if(area==1)
    {
         printf("In this case,the area is %d square yard",area);

    }
    else
    printf("In this case,the area is %d square yards",area);
    return 0;
}

