import re
def repl(match):
	chunks = match.group(1).split(".")
	if len(chunks) == 2:
		return "FLT_{}".format(len(chunks[1]))
	else:
		return "INT_{}".format(len(chunks[0]))
		
input_string = "高露潔光感白輕悅薄荷牙膏100   79.80"
result = re.sub(r'[-+]?([0-9]*\.?[0-9]+)(?:[eE][-+]?[0-9]+)?',repl,input_string)
print(result)


    	
