Task: Program Execution
Input (English): 9531, Q, 9793, Y, N, U, 4113, j, 8223, j, K, 6437, y, 785, 481, 841, 1211, 6779, 2675, 2359, x, 4455, N, 1747
Output (English): 2, 4, 5, 6, 8, 10, 11, 13, 21, 23