Andrey's submission of Closing the Tweets | CodeChef