Task: Program Execution
Input (English): S, 8571, c, 4141, 5287, q, 1175, z, 7023, t, 2177, 2721, 7409, 3397, 8101, 6853, 6375, T, 2061
Output (English): 2, 4, 5, 7, 9, 11, 12, 13, 14, 15, 16, 17, 19