added hard3.rb, hard3.in, hard3.out