(use text.tr)((^n(dotimes(i(ash 1 n))(print(string-tr(format"~v'0b"n i)"01"".#"))))(read))