Task: Program Execution
Input (English): 9415, T, F, Z, 3753, 5831, 2607, 2541, 7131, 5443, 3669, 2639, 6591, 4105, 1511, 455, 8957, M, g, O, 7511, 131, 7453, x
Output (English): 1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 21, 22, 23