Devide printInput() into getIput() and printInput().
Add light command.