Task: Program Execution
Input (English): g, 3235, 2303, 475, 7207, M
Output (English): 1, 6