uva; solve "Friends" from Volume 106