Task: Program Execution
Input (English): t, T, M, 3949, m, O, m, V, 4765, 6619, M, n, 2535
Output (English): 1, 2, 3, 5, 6, 7, 8, 11, 12