Task: Program Execution
Input (English): Q, R, 6441, 4843, 8643, 1389, 1965, g, 2529, 1347, R, 8021, Y, r, 4777
Output (English): 3, 4, 5, 6, 7, 9, 10, 12, 15