Alfred Monir Hugo no problem. I gave the answer because you showed your initial code and made an attempt asking reasonable questions. Sometimes people ask for answers without making any attempt. For these questions, we're discouraged from showing a solution immediately. Hope you can take it from here for similar problems.