input of characters and strings