Added code for Uva:10323