시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 2048 MB71554351276.304%

문제

In recent weeks, the United Association against Property Crime (UAPC) sign has been repeatedly vandalized. Vandals remove some of the letters from UAPC to form an acronym of their choosing. For example, last month, the Unauthorized Art Collective (UAC) removed the letter P.

The UAPC is tired of manually determining which letters have been lost and need replacement. They have tasked you with creating an algorithm to automatically identify the missing letters.

입력

The first line of input contains a string $s$ of length at most $3$. It is guaranteed that $s$ is non-empty and can be obtained by removing some characters from UAPC, while preserving the order of the remaining letters. It is guaranteed that at least one character has been removed.

출력

Output a string consisting of the characters removed from UAPC to obtain $s$, listed in the order they appear in UAPC.

예제 입력 1

UAC

예제 출력 1

P

예제 입력 2

P

예제 출력 2

UAC

예제 입력 3

UC

예제 출력 3

AP