#!/bin/ksh
while true
do
  read i || break
  echo "(1)" $i
  echo "(2)" $i 1>&2
done
