You are given a DNA sequence consisting of characters A,C,G and T.
Your task is to find the shortest DNA sequence that is not a subsequence of the original sequence.
One line contains a DNA sequence with n (1≤n≤106) characters.
Print the shortest DNA sequence that is not a subsequence of the original sequence. If there are several solutions, you may print any of them.