added code for Uva:10220