How to get configuration from sequence

In reply to Tudor Timi:

Thank you Tudor for good idea