Task: Program Execution
Input (English): 4853, 5783, 1247, 2789, 3421, 8031, a, 7515, 9123, 4121, 9027, 8367, H, 7133
Output (English): 7, 13