Let's paste here solutions to Codility quests, pro publico bono.