David's submission of Three-Way Split | CodeChef