Task: Program Execution
Input (English): o, C, 6205, 1701, 4949
Output (English): 12855