solution for uva 11292