Task: Program Execution
Input (English): gentlemen,, N, I, in, p
Output (English): gentlemen,NIinp