Task: Program Execution
Input (English): 6851, b, 9913, H
Output (English): 16764