added code for Uva:389
Merge branch '389-code'