AtCoder Beginner Contest 122
翻译中…
Problem Statement
翻译中…
On the Planet AtCoder, there are four types of bases: A, C, G and T. A bonds with T, and C bonds with G.
翻译中…
You are given a letter $b$ as input, which is A, C, G or T. Write a program that prints the letter representing the base that bonds with the base $b$.
翻译中…
Constraints
翻译中…
$b$is one of the lettersA,C,GandT.
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
b
翻译中…
Output
翻译中…
Print the letter representing the base that bonds with the base $b$.
翻译中…
样例
Input #1
A
Output #1
T
Input #2
G
Output #2
C
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。