solution for uva 11300