(define Days(list 0 31 28 31 30 31 30 31 31 30 31 30)) (let ( (Month 1) (Day 1) (HDcnt 0) ) (let loop() (if (and (= Month 11) (= Day 30)) (display HDcnt) (begin (when (= Day (list-ref Days Month)) (begin (set! Month (+ Month 1)) (set! Day 1))) (when (= Month (+ (floor (/ Day 10)) (modulo Day 10))) (set! HDcnt (+ HDcnt 1))) (set! Day (+ Day 1)) (loop) ) ) ) )