#include "iolib.h"

void main(void)
{
  float in, out;

  init_21k();
  init_1847(SAMPLE48000, 0);

  for(;;) {
    in = read_input();
    if (in > 0)
      out = in;
    else
      out = 0.0;
    write_output(out);
  }
}