Determination of the chiral indices (n,m) of carbon