Advanced test data from uva forum

Advanced test data from uva forum