Task: Program Execution
Input (English): j, 3577, 2731, J, W, g, c, A, B, b, 4367
Output (English): 2, 3, 11