Template for Solution for Stopcoder contest.