시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB123383430.631%

## 문제

I am trying to create a dictionary of all the words in common use by my students. To do this, I am planning to feed text from their work, discussion forum entries, and emails through a program that extracts the words.

To make it easy to check if a word has been seen before, I am formatting the text carefully. Firstly I put everything in lower case, then I strip out all punctuation leaving the words separated by single spaces. If the punctuation comes within a word (i.e. there is a letter on either side of it), it is removed. If a "word" consists only of digits, it is ignored. Finally, I sort the words into alphabetical order, removing duplicates.

## 입력

Input will consist of a number of lines, each line representing a piece of text to be analysed, and terminated by a single #. No line will contain more than 250 characters.

## 출력

Output will be the qualifying words extracted from the text, one per line, in alphabetical order within each set. Each set of words from a piece of text will be separated from the next set by a blank line.

## 예제 입력 1

Can I please have the spec for the Programming 3 assignment? B.T.W. I haven't got the lecture notes either!
Our guest speaker is Mr Hartley-Jones. He shouldn't need any introduction - you all met him last semester, didn't you?
When you said "give me your best 5 examples", did you mean just from this year - or can we use any? I'd like to use one from2006.
#


## 예제 출력 1

assignment
btw
can
either
for
got
have
havent
i
lecture
notes
programming
spec
the

all
any
didnt
guest
hartleyjones
he
him
introduction
is
last
met
mr
need
our
semester
shouldnt
speaker
you

any
best
can
did
examples
from
from2006
give
id
just
like
me
mean
one
or
said
this
to
use
we
when
year
you
your