Update InputCheck.java