One and only flow

Problem Name:
One and only flow
Site:HackerEarth
Links:
Tags:
Problem setters: