Honda only used 4-digit engine codes in the homeland, so it could be either. if it had a red valve cover it's a type R, if it's a black valve cover with the two-stage GSR intake manifold, it was from an Integra SiR-G (JDM equivalent to a GSR).