uva; solve "Prime Words" from Volume 109