Ввести число N, а затем — N строк, вывести их в отсортированном лексикографически порядке, опуская повторы.
10 A-tisket a-tasket A green and yellow basket I wrote a letter to my friend And on the way I dropped it, I dropped it, I dropped it, And on the way I dropped it, A little boy he picked it up And put it in his pocket. A-tisket a-tasket A green and yellow basket
A green and yellow basket A little boy he picked it up A-tisket a-tasket And on the way I dropped it, And put it in his pocket. I dropped it, I dropped it, I wrote a letter to my friend