Task: Program Execution
Input (English): j, 5617, 1535, c, 1795, j
Output (English): 1, 4, 6