Task: Program Execution
Input (English): P, z, 5379, S, 2091, 8889, 2499, v, 8109, S, 5979, J, T, T, O, b, F, Q
Output (English): 1, 2, 4, 8, 10, 12, 13, 14, 15, 16, 17, 18