Task: Program Execution
Input (English): 4167, m, 8891, D
Output (English): 13058