문제
Author: Adrian Satja Kurdija
In a small country far, far away, all the best and brightest high schoolers apply to universities abroad (even further away). The exact cause is always different and hard to find. Of course, the country's leaders aren't happy about that since they care deeply about their gifted (read profitable) youth. That's why the Education Ministry has started research into various subliminal messages to coax high schoolers into staying in their homeland. Their first try was handing out booster packs for the recent Magic: The Gathering expansion known as Return to Ravnica1 as competition prizes. Then they started to play Tony Cetinski's song “Ostani zauvijek”2 on math radio all the time. Finally, there is this task! Given a word, remove from it all letters contained in the word CAMBRIDGE.
입력
The first and only line of input contains a single word consisting of at least 3 and at most 100 uppercase English letters.
출력
The first and only line of output should contain the word obtained by removing all the letters in CAMBRIDGE from the given word. Test data will ensure that the solution contains at least one letter.
예제 입력 1
LOVA
예제 출력 1
LOV
예제 입력 2
KARIJERA
예제 출력 2
KJ
코드를 제출하려면 로그인이 필요합니다.
로그인