#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define TUPLES_PER_PAGE 15

int main(int argc, char **argv)
{
	int tablesize;
	int lines;
	char buf[1000];
	int i;

	if (argc != 2)
	{
		exit(1);
    }

	memset(buf, 'a', 500);
	buf[500] = '\0';

	tablesize = atoi(argv[1]);

	lines = tablesize * 1024 * 1024 / 8192 * TUPLES_PER_PAGE;

	for(i = 1; i <= lines; i++)
		printf("%d\t%s\n", i, buf);
}
