Task: Program Execution
Input (English): 1847, 6649, A
Output (English): 8496