Task: Program Execution
Input (English): j, 87, k, 41, a, 241
Output (English): 1, 2, 4, 7, 8