Thanks for all the answers but I have to say that it has to be in one function and that I can only use this tools (https://pastebin.com/en3E4aTA). I tried solving this for hours so please help me.
-- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.