HashMap, CheckingInput