Task: Program Execution
Input (English): 8775, J, B, 5665, P, a, W, 4117, E, w, 7997, D
Output (English): 1, 4, 8, 11