N-ary conversion, arbitrary conversion