Task: Program Execution
Input (English): 371, c, y, x, 473, 7, s
Output (English): 1, 3, 4, 7