Update input/src/input/Input.java

changed y instanceof String to tue