Need help with loop

I am working in workflow like attendance management system
I want to get input and store hours Monday to Friday with using loop can someone help me I failed to build logic for the reference you can se in picture i want like this

Duplicate