sachin's submission of New Algorithm | CodeChef