(define (display-loop lst plus) (if (null? lst) "EOF" (begin (display (car lst)) (display plus) (display-loop (cdr lst) plus)))) (define (fizz-buzz start end) (if (> start end) '() (cons (cond ((= (remainder start 15) 0) "FizzBuzz") ((= (remainder start 3) 0) "Fizz") ((= (remainder start 5) 0) "Buzz") (else start)) (fizz-buzz (+ start 1) end)))) (display-loop (fizz-buzz 1 (read)) "\n")