Task: Program Execution
Input (English): H, 9771, j, J, 2127, Y, t, N, 5533, 8763, N, 4951, L, i, v, r, B, P
Output (English): 31145