#include <stdio.h>

void main()
{
	int i,total,table;

	printf("Which table would you like?");
	scanf("%d", &table);
	
	for (i = 1; i <= 12; i++)
	{
		total = i * table;
		printf("%d times %d is %d\n", i,table, total);
	}
}