WIP working solution if we do not accept non-standard input like 'VX' or 'IIXX'