Task: Program Execution
Input (English): 333, 4505, 2369, p, 8137, z, 1331, m, 1947, 1253, 7619, 5499, a, P
Output (English): 32993