uva; solve "Graphical Editor" from Volume 102