Task: Program Execution
Input (English): 139, q, 4941, 3551, C
Output (English): 8631