#lang racket
(let loop ()
  (define x (read))
  (unless (or (eof-object? x) (equal? x 42))
    (displayln x)
    (loop)))
