User input now deletes invalid numbers and chr.