Task: Program Execution
Input (English): c, 1501, Y, W, n, 1035, r, 5261, A
Output (English): 1501, 1035, 5261