added uva 10019, 264