ZOJ Problem Set - 1630
One day, WashingBone and gali play a game. WashingBone shoot dice for several times, and then, gali had to guess the points number of every face of the die. Every time gali can only see three face, front, right and top, of the die.
Your task is to help gali to guess the points number of six faces of the die.
There are several test cases. In every test case:
If the there is no dice can be shoot the same as input, output a "T_T",
else if there are several dice can be shoot the same as input, output
a "=.-", else output the front, back, right, left, bottom and top
face of the die.
Author: CHEN, Gaoli
Source: ZOJ Monthly, June 2003