problem 51 Typed Racket