# code: http://golf.shinh.org/reveal.rb?this+problem+was+written+by+chat+gpt/tails_1697077255&nbb # target Nibbles version: 1.00 # commenter version: 0.1.2.181 / #(foldr1):[[chr]] `' #(transpose):[[[chr]]] . #(map):[[[chr]]] , #(range from 1):[int] * #(multiply):int $ #(= fstInt):int $ #(= fstInt):int `< #(sort):[[chr]] <--arg( A:int ) | #(filter):[[chr]] ``p #(permutations):[[chr]] `p #(int to str):[chr] $ #(= A):int == #(equal?):int <--arg( B:[chr] ) \ #(reverse):[chr] $ #(= B):[chr] `p #(int to str):[chr] <--arg( C:[chr] ) `r #(read int):int @ #(= B):[chr] #(implicit arg = E):[[chr]] <--arg( E:[[chr]] D:[[chr]] )