(use srfi-13)(while(print(regexp-replace-all #/([a-z]+.)([a-z]*)(.?)/(read-line)(rec,m(let('m)#`",'1,(string-upcase'2),(string-downcase'3)")))))