Sherlock and The Beast

Problem Name:
Sherlock and The Beast
Site:HackerRank
Links:
Tags:
Problem setters: