Task: Program Execution
Input (English): 3557, 3345, 307, 9791, 1897, O
Output (English): 18897