Parse integer as a term