Task: Program Execution
Input (English): H, o, c, 391, w, M, 6027, 3233, 1653, 9067, 4651, N, 4157, 8267, k, r, 5639, 7515, G
Output (English): H, o, c, w, M, N, k, r, G