Print precisely T regular expressions, one per line. Each regular expression must be an answer to a corresponding test. If for any test there is no regular expression matched by all strings from the set, print the word Impossible instead of the answer.