Task: Program Execution
Input (English): 2855, q, 9687, 3091, h, 6911, 3091
Output (English): 2, 5