First version of the Length of last word problem