Task: Program Execution
Input (English): 3475, 4807, 7791, 2729, A, 2537, C, 4397, 6501, B, Q, 3181, R
Output (English): 5, 7, 10, 11, 13