(define N (read)) (define (fizzbuzz n) (cond ((= 0 (mod n 15)) "FizzBuzz") ((= 0 (mod n 5)) "Buzz" ) ((= 0 (mod n 3)) "Fizz" ) (else n) ) ) (for-each print (map fizzbuzz (iota N 1)))