Solutions for CodeChef Problem Statements