Task: Program Execution
Input (English): 2157, M, q, G, T, M, F, 8221, H, 3043, 4951, 1801, 1065, 3567, 4045, i, 7585, 1395, q, A, 5191
Output (English): 1, 8, 10, 11, 12, 13, 14, 15, 17, 18, 21