solution to roman rithmetic MPC question