Algorithm Template For Programming Contests.