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

int main(void)
{
srand((unsigned)time(NULL));
char str[3];
int i;
for (i = 0; i < 1000; i++)
{
str[0] = 131;
str[1] = rand() % 87 + 64;
if (str[1] == 127)
{
i--;
continue;
}
str[2] = 0;
printf("%s", str);
}

return 0;
}