#2783. Double Helix

0

Double Helix

Double Helix

题目描述

On the Planet AtCoder,there are four types of bases: AA, CC, GG and TT. AA bonds with TT,and CC bonds with GG. You are given a letter bb as input,which is AA,CC,GG or TT. Write a program that prints the letter representing the base that bonds with the base bb.

输入格式

Input is given from Standard Input in the following format: bb

输出格式

Print the letter representing the base that bonds with the base bb.

A
T
G
C

提示

bb is one of the letters AA,CC,GG and TT.

标签: AtCoder|abc122A

来源

AtCoder|abc122A