(defun f756 (s)
(loop for c across s
for i upfrom 0
if (evenp i)
collect c into even
else
collect c into odd
finally (format t "~{~c ~}~%~{ ~c~}~%" even odd)))
(f756 "123456789")
(f756 "The earth turns around the sun.")
KGRlZnVuIGY3NTYgKHMpCiAgKGxvb3AgZm9yIGMgYWNyb3NzIHMKCQlmb3IgaSB1cGZyb20gMAoJCWlmIChldmVucCBpKQoJCWNvbGxlY3QgYyBpbnRvIGV2ZW4KCQllbHNlCgkJY29sbGVjdCBjIGludG8gb2RkCgkJZmluYWxseSAoZm9ybWF0IHQgIn57fmMgfn1+JX57IH5jfn1+JSIgZXZlbiBvZGQpKSkKCihmNzU2ICIxMjM0NTY3ODkiKQooZjc1NiAiVGhlIGVhcnRoIHR1cm5zIGFyb3VuZCB0aGUgc3VuLiIp