input segments from numbers