Error: "If an empty string is entered after a number, then that number should also be displayed (it must not be lost)." HashMap can work with null key, no?