Adding input file for ex 4
chapter 9, ex 4