Task: Program Execution
Input (English): t, T, 8165, o, 6357, t, 3131, R, 4933, 5767, r, P, 9839, Q
Output (English): 3, 5, 7, 9, 10, 13