Task: Program Execution
Input (English): M, 7365, t, N, C, 4373
Output (English): 2