#P7583. [COCI 2012/2013 #1] DOM

[COCI 2012/2013 #1] DOM

Problem Description

Given a word that contains only uppercase letters, delete the following nine letters from the word: C,A,M,B,R,I,D,G,E\texttt{C,A,M,B,R,I,D,G,E}.

Input Format

One line with one string, representing the given word.

Output Format

One line with one string, representing the string after deleting the letters.

LOVA
LOV
KARIJERA
KJ

Hint

Constraints

For 100%100\% of the testdata, it is guaranteed that 33 \le the word length 100\le 100.

Notes

The score for this problem is set according to the original COCI problem, with a full score of 5050.

This problem is translated from COCI2012-2013 CONTEST #1 T1 DOM.

Translated by ChatGPT 5