You are given several lists, each containing a mix of words and integers. Sort each list according to the following rules.
Words are compared case-insensitively, but each word keeps its original capitalization in the output. Integers may be negative.
The input contains multiple lists, one per line. Within a line the elements are separated by a comma and a space (, ), and each list is terminated by a period (.). The input is terminated by a line containing only a single period.
For each list, print the scramble-sorted list on its own line. Separate the elements with a comma and a space (, ) and end the line with a period (.).