Task: Program Execution
Input (English): 121, 8893, x, M
Output (English): 2