UVa 291 - The House Of Santa Claus

291 - The House Of Santa Claus

 * http://acm.uva.es/p/v2/291.html

Summary
This is the standard question asking you to output all the possible permutation of the Euler Path in lexicographic order.

Explanation
Standard exhaustive search techniques should suffice.

Input
None

Output
Placing output here is equivalent to give the whole solution
 * There are 44 output lines