(loop(doseq(c(car(set'x(regexp:regexp-split","(read-line)))))(princ(case c(#\%"")((#\1 #\2 #\3)(nth(digit-char-p c)x))(t c))))(terpri))