Task: Program Execution
Input (English): Y, CHAPTER, N, Y, R, same,, e, And, D, b, to, t
Output (English): YCHAPTERNYRsame,eAndDbtot