Task: Program Execution
Input (English): 7983, P, 9145, 1233, N, 7441, 6627, X, 9247, B, 7499, G, 3397, 1453, i, T, w, W, n
Output (English): 1, 3, 4, 6, 7, 9, 11, 13, 14