The hierarchical representation of three-item sequences