Sort:  

Thank you, and I'm sorry that it exceeded the time limit :(