#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>

int main(int argc, char * argv[]){
	pid_t childpid;
	int i = 0;
	int j = 0;
	int count = 1;

	count = atoi(argv[1]);
	childpid = fork();

	if (childpid == 0)
	{
		for (j = 0; j < count; j++)
			for (i = 'a'; i <= 'z'; ++i)
			{
				printf("%c", i);
			}
		printf("\n");
	} else {
		for (j = 0; j < count; j++)
			for (i = 'A'; i <= 'Z'; ++i)
			{
				printf("%c", i);
			}
		waitpid(childpid, NULL, 0);
		printf("\n");
	}
	return 0;
}

