electronic dice by blackneyed

import sys\x0d
\x0d
map = {\x0d
\x091 : '0 0 0\n0 1 0\n0 0 0',\x0d
\x092 : '0 0 1\n0 0 0\n1 0 0',\x0d
\x093 : '1 0 0\n0 1 0\n0 0 1',\x0d
\x094 : '1 0 1\n0 0 0\n1 0 1',\x0d
\x095 : '1 0 1\n0 1 0\n1 0 1',\x0d
\x096 : '1 0 1\n1 0 1\n1 0 1',\x0d
}\x0d
\x0d
#for line in sys.stdin:\x0d
#\x09print map[int(line)], '\n'\x0d
\x0d
try:\x09\x0d
\x09while True:\x0d
\x09\x09print map[int(raw_input())] + "\n"\x0d
except EOFError:\x0d
\x09pass\x0d
\x0d
\x09

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top