Compression Algorithm (#220) - Azerbaijan Computing Olympiad