My answer submited to the Online-Judge.