get the numlist from stdin