Four MAGICAL operations

Problem Name:
Four MAGICAL operations
Site:HackerEarth
Links:
Tags:
Problem setters: