Task: Program Execution
Input (English): C, 1131, 5815, g, 4421, X
Output (English): 1, 4, 6