Task: Program Execution
Input (English): x, 4901, f, 1103, B, 487, Z, D, N, 4619, f, P, 7403
Output (English): 18513