Dhruv and williamson

i am not able to understand count high and count low in this problem
can u please give me a sample input and output test case for better understanding of the problem

@tusharsk
@sanjeetboora

qn link:
https://hack.codingblocks.com/contests/c/511/1628