Correct parsing of letter array and reprinting of it