Task: Program Execution
Input (English): Z, e, M, 5285, 4827, 2635, 5395, y, B, l, 9773, Z, h, i
Output (English): 4, 5, 6, 7, 11