Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

Problem hidden

LPPP - Lov-e Pap Pap-e Polti

no tags 

Little Jitu, Tipu and Vitu, three brothers, are probably very happy this Eid day. This is the day for getting eid-bonus more and more. No one wants to get less bonus amount than other. So, they only take the bonuses if all of them get same bonus amount from his father (in this case they are very happy), otherwise they will not take bonuses and hence this is the worst Eid day for them.

Now their father has N coins, he has to distribute all these coins in such a fashion so that all of them get equal bonus.

Now the task is yours!. Please tell their father if he will be able to distribute all N coins so that all of three gets equal bonus amount.

Sample Input:

The first line of the input is the integer T(T<=50) denoting the number of test cases. T pair of lines follows. Each pair contains 2 lines.The first line contains N(1<=N<=50) denoting the number of coins and next line contains space separated integers denoting the values of the ith coin which is between 1 to 50 inclusive.

Sample Output:

For each case of input, print the case number and “Happy Eid Day” if it is possible to give equal bonus amount, print “Lov-e Pap Pap-e Polti” otherwise.

Sample Input:

2

10

2 4 3 2 4 9 7 8 6 9

3

1 2 3

Sample Output:

Case 1: Happy Eid Day

Case 2: Lov-e Pap Pap-e Polti

Explanation:

One Possible solution for  test case 1:

Jitu will get bonus amount=2+7+9=18

Tipu will get bonus amount=3+9+6=18

Vitu will get bonus amount=4+2+4+8=18

So all of them can get equal bonus amount.

For test case test 2, there are no way to distribute coins so that all of them can get equal bonus amount.

Problem Setter: Md Abdul Alim, Dept. of Computer Science, Bangladesh University of Business & Technology


Added by:Alim
Date:2014-08-13
Time limit:2s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: ASM64 GOSU
Resource:Own Problem