code for uva 524