Write a MARIE assembly language program to calculate the product of two numbers N * M by adding N to itself M times (or add M to itself N times). Adding the bigger of the two numbers to itself is more efficient (but this optimization is optional). The program then reads the numbers N and M from the input and outputs the product.