Task: Program Execution
Input (English): P, 2143, X, 3429, 5259, A, V, 9051, 6073
Output (English): 1, 3, 6, 7