Task: Program Execution
Input (English): 311, D, 6431, 4231, B, p, 1007, 9509, 5343, Z, T, A, 6039, 4153, k, 5169, K, 9647, 5455, l, 8705, N, 4567, 1513
Output (English): D, B, p, Z, T, A, k, K, l, N