Task: Program Execution
Input (English): 2561, 3179, Y, 9915, Z, 9123, F, 2079, 5191, 3411, D, 6753, 7903, N, 5023, p, f, L, 5249, 1507
Output (English): Y, Z, F, D, N, p, f, L, 2561, 3179, 9915, 9123, 2079, 5191, 3411, 6753, 7903, 5023, 5249, 1507