added code for Uva:10473
Merge pull request #6 from rahulroot/10473-code

 added code for Uva:10473