Task: Program Execution
Input (English): d, 2477, 8129, O, 3173
Output (English): 13779