Update inputCollect.java

Formatted to keep it off scrolling left and right.