Task: Program Execution
Input (English): Y, 7801, 1941, 7003, g, i
Output (English): 3