© 2023 Sorting Hat Technologies Pvt Ltd
Answer: Let us use the following approach to carry out the operation: