/* RollOver.c */
/* Testing products which cause rollover */
/* xy does not cause rollover if both x,y < 46341 */

#include <stdio.h>

void main(void)
{
 int X,Y;          

LP:
 scanf("%d,%d",&X,&Y); getchar();
   printf("%d\n\n",X*Y);
 goto LP;
}    


