Watch this script. This script shows how to solve this answer
Thanks justsoft teach me how to code better This is obviously a practice code for solving problem I share it for people who wonder how to solve the question