[rewrite] roman to int