def seven_seg(x):j="".join;return j(j("  | | |___   _ || || "[d/7**int(i)%7::7]for i in x)+"\n"for d in(7224,97166500,56265708))