https://lucienshui.github.io/blog/posts/codeforces_1139a_evensubstrings/
Codeforces - 1139A - Even Substrings - Lucien's Blog