Valid Bitonic Permutations

Problem Name:
Valid Bitonic Permutations
Site:CodeForces
Links:
Tags:
Problem setters: