for i=0to 3input""s$:k=len(s$):?left$(s$,k/(1+(k<10)+(k<19)+19*(k=20)+!k<99))next