Added SPOJ's GOODB.