fix precondition
Merge pull request #3 from Bryukh-Checkio-Tasks/master

fix precondition