uva; solve "Interpreter" from Volume 100