codeforce C. Remove Adjacent

NoSuchKey