Helped me so much thank you!!
This comment is hidden because it contains spoiler information about the solution
Please include random cases. For whoever says 1064, sorry but the solution is 1074.
@Unnamed: Thank you for pointing it out.
@Voile: Thank you for fixing it :)
Thanks, I will :)
feel so stupid for not thinking about this...
So that you may iterate through every object in the array, in this case every roman numeral.