I got it.
Your solution is the same as mine. I just wonder if there is any simplified approach.
Thank you for your kind help. 
I got it.
Your solution is the same as mine. I just wonder if there is any simplified approach.
Thank you for your kind help. 