muneer, I finally got it now if it works well and fast, thank you very much for the help you are giving me
this is the logic I applied