Task: Program Execution
Input (English): g, 9235, 4571, Y, 2767, p
Output (English): 2, 3, 5