UVa 10534 Wavio Sequence