input hist