added code for Uva:290
Merge pull request #9 from rahulroot/290-code

added code for Uva:290