added uva 490, 686