Task: Program Execution
Input (English): 9721, 283, 8201, 2241, 7821, h, 2001, g
Output (English): 6