(define (System.out.println x) (begin (display x) (newline) ) ) (let ( (foo (string-append (symbol->string (read)) (symbol->string (read)))) ) (let loop( (i 0) (Vacation 0) (MaxVac 0) ) (if (= i 14) (System.out.println MaxVac) (if (string=? (list->string (list (string-ref foo i))) "o") (if (< MaxVac (+ Vacation 1)) (loop (+ i 1) (+ Vacation 1) (+ Vacation 1)) (loop (+ i 1) (+ Vacation 1) MaxVac) ) (loop (+ i 1) 0 MaxVac) ) ) ) )