Task: Program Execution
Input (English): H, 3139, 999, A, 4431, 4323, 4615
Output (English): 1, 4