Task: Program Execution
Input (English): 307, 117, s, j
Output (English): 0, 1, 3, 7