Rhezo and Big Powers

Problem Name:
Rhezo and Big Powers
Site:HackerEarth
Links:
Tags:
Problem setters: