### 1221: The Other Part of DNA

[状态] [讨论版] [提交] [命题人:]

Dellenge is a very warm-hearted person. He likes to help his friend solve problems. One Day, Night Guard have a biological problem. He cannot solve it by himself. So he asked Dellenge for help. But Dellenge’s
Biological is very poor. He can’t solve it too. Now, can you help them to solve the problem? Here is the problem :
We all Know that the information in DNA is stored as a code made up of four chemical bases: adenine (A), guanine (G), cytosine (C), and thymine (T). DNA bases pair up with each other, A with T and C with G, to form units called base pairs.
Now, we give you one part of a DNA sequence, can you tell me another.

The first line is an integer t, which means the number of cases in the data file. Each case will have a single line, that’s DNA sequence which we give you. The length of the sequence is less than 100

For each test case, you have to output another part of the DNA. One case, one line.

2
ATCG
ACAC



TAGC
TGTG