#include<stdio.h>

int main()
{
   int a,b;
   scanf("%d %d",&a,&b);
   int ans = (a+b)-1;
   int ar = a*b;
   int an = ar-ans;
   printf("%d\n",an);
   if(an>1)printf("In this case, the area is %d square yards.\n",an);
   else printf("In this case, the area is 1 square yard.\n");
   return 0;
   }