Program to find sequentially-Bounded

sequnce