Ddakji Problem Code: REC20C Answer