Task: Program Execution
Input (English): Y, 8821, x, c, 6431, 7771, 6589, K, 2845, k, 889, 5753, 2001, 531, 6991, 5831, 869, C, p, 8843, P
Output (English): Y, x, c, K, k, C, p, P