Task: Program Execution
Input (English): L, 4277, n, 649, c, 5747, F, 237, 7131, l, M, 1319, 9295, Z, 1137, 1981, 9737, p, T, A, 5763
Output (English): L, n, c, F, l, M, Z, p, T, A