#!ruby -n n=eval$_ b=37 b*=37while b<=n (d,n=n.divmod b;putc d.to_s(36).sub'10','A')while 0