Alternating Sequences

Problem Name:
Alternating Sequences
Site:Spoj
Links:
Tags:
Problem setters: