Is he smart or is he smart

Problem Name:
Is he smart or is he smart
Site:Spoj
Links:
Tags:
Problem setters: