Help Dr. Wu

Dr. Wu is going to organize a competition. He has decided to judge the participants using an automated system. He himself has programmed the system.

This is a companion discussion topic for the original entry at

What is the problem here , please help submission id: 786732
@hjr265 @Being_Gorom bhai , WA at test case 16/25