Task: Program Execution
Input (English): N, H, 431, 8885, 5367, 1173, a, 6451, k, Z, c, r, 2057, 3809, 1431, 3771, 5819, 527
Output (English): N, H, a, k, Z, c, r