import re import sys for line in sys.stdin: input1=line.strip() if (len(input1)<=8): print("NG") continue count=0 if(re.search('[a-z]',input1)): count=count+1 if(re.search('[A-Z]',input1)): count=count+1 if(re.search('[0-9]',input1)): count=count+1 ...