scanning ints, chars; accepting ints, chars