uva; solve "Event Planning" from Volume 115