Task: Program Execution
Input (English): 4913, Y, 2145, 6851, f, 9041, 6359, M, 1773, p
Output (English): 31082