Task: Program Execution
Input (English): T, 5635, 2383, H
Output (English): 20, 5635, 2383, 8