Task: Program Execution
Input (English): t, 5419, 4091, K, 2873, M, A, 3355, K, 1713
Output (English): 5