Changed to short input

Now I am outputting shorts, so i changed to input them as well
also removed unused line from ages ago