Little Shino and K Ancestor

Problem Name:
Little Shino and K Ancestor
Site:HackerEarth
Links:
Tags:
Problem setters: