Assign numbers.