def r a;a+a.reverse[1,8]end loop{puts'-'*17 y=r'%o'%' ", ȸ RqA qq$I'.unpack('L*')[-eval(gets)] 15.times{|i|puts (r'%9b'%'@A'[y[i]%8]).tr'01',' *'}}