Task: Program Execution
Input (English): 5097, X, T, 3865, U, 6601, v
Output (English): 2, 3, 5, 7