Update Person.java

Added support for new input