apple pie's submission of Two Dishes | CodeChef