kata 18. solved all found cases
kata 18. perf on 10K tested ok