624 - first implementation, wrong solution for test cases
624 accepted