Identifying the first and last words