Task: Program Execution
Input (English): 349, 4261, 8271, 3499, 1099, X, 9129, 4425, 4647, n, c, U, a, L, 1265, 5411, P
Output (English): 10