Task: Program Execution
Input (English): 1331, 3591, a, 1385, 4179, m, I, 6187, 1245, x, 7959, 7745
Output (English): 3, 6, 7, 10