#include <stdio.h>
void aaa(int dan)
{
int j;
printf("== %ddan ==\n", dan);
for(j=1; j<=9; j++)
{
printf("%d * %d = %d\n", dan, j, dan*j);
}
printf("\n");
}
int main(void)
{
int n, i, j;
int a, b;
int max, min;
scanf(" %d %d", &a, &b);
if(a>b){
max=a;
min=b;
}
else{
max=b;
min=a;
}
for(i=min; i<=max; i++)
{
aaa(i);
}
return 0;
}
void aaa(int dan)
{
int j;
printf("== %ddan ==\n", dan);
for(j=1; j<=9; j++)
{
printf("%d * %d = %d\n", dan, j, dan*j);
}
printf("\n");
}
int main(void)
{
int n, i, j;
int a, b;
int max, min;
scanf(" %d %d", &a, &b);
if(a>b){
max=a;
min=b;
}
else{
max=b;
min=a;
}
for(i=min; i<=max; i++)
{
aaa(i);
}
return 0;
}