solution for uva 11520