split the input into token