added an input file
bug at http://codeforces.com/contest/318/problem/B - more than one 'Input' before the examples