Task: Program Execution
Input (English): 8501, 1641, 7935, 5521, 2859, 8093, 2163, G, 8265, 4337, D, C, 4855, 2059
Output (English): 8501, 1641, 7935, 5521, 2859, 8093, 2163, 7, 8265, 4337, 4, 3, 4855, 2059