Task: Program Execution
Input (English): 3379, 5349, S, 4063, Z, A, 2309, U, 5431, w, W, 8125, 4317, q, 3015, M, k, 363, 5915, A
Output (English): S, Z, A, U, w, W, q, M, k, A