#0005E0

O-cetvoroslovne

InputFrom first line of standard input read two uppercase English letters separated by empty space.

OutputWrite all words from any four letters between given two. Every new word write in new line, sorted lexicographically (from smallest to biggest).


Input:
D E

Output:
DDDD
DDDE
DDED
DDEE
DEDD
DEDE
DEED
DEEE
EDDD
EDDE
EDED
EDEE
EEDD
EEDE
EEED
EEEE

Submit solution

Coming later

The grading service will be connected in a later migration step. You can inspect the task and your previous results now.