search for first three numbers