Help in BHPORSRP codeMantra

What am I doing wrong?

Run sample test cases you will understand!!

Yeah, but when run this in my computer the and match.

there is a logical error in the code:
The names of the college can be in any case, (not only upper or lower, it can be toggle,sentence,etc.)
The only testcase tested in the contest was the “Both” one…my approach was to convert all strings to lowercase be string.lower( ) and then check if(a in string and b in string) …

Hope it helps : )