#include <stdio.h> int main() { char a[100]; while (scanf("%s", a) != EOF) { int num, i, j, x=0, y=0, z=0, w=0, cnt = 0, flag = 0; //printf("%s\n", a); //printf("%d\n", strlen(a)); if(strlen(a) < 9) { printf("NG\n"); c...