Pair Of Roses Divide And Conquer Problem

getting wrong answer in test case but getting right answer in sample input.

@Vishal123
Input :
1
3
3 3 3
6

Expected Output :
Deepak should buy roses whose prices are 3 and 3.

Your Output :
Deepak should buy roses whose prices are 3 and 3.
Deepak should buy roses whose prices are 3 and 3.
Deepak should buy roses whose prices are 3 and 3.