Sorted to one input per line