Problem:
Score : 100 points

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 letters A, C, G and T.

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.

Sample Input 1

A

Sample Output 1

T

Sample Input 2

G

Sample Output 2

C

Solution in C (GCC 5.4.1) (judge verdict: Accepted)

__asm__ ( "                        \n\
        .comm   b,1,1              \n\
.L0:                               \n\
        .string \"%c\"             \n\
        .globl  main               \n\
main:                              \n\
        pushq   %rbp               \n\
        leaq    b(%rip), %rsi      \n\
        leaq    .L0(%rip), %rdi    \n\
        call    __isoc99_scanf@PLT \n\
        movzbl  b(%rip), %eax      \n\
        movsbl  %al, %eax          \n\
        cmpl    $65, %eax          \n\
        je      .LA                \n\
        cmpl    $67, %eax          \n\
        je      .LC                \n\
        cmpl    $71, %eax          \n\
        je      .LG                \n\
        cmpl    $84, %eax          \n\
        je      .LT                \n\
        jmp     .LEND              \n\
.LA:                               \n\
        movl    $84, %edi          \n\
        call    putchar@PLT        \n\
        jmp     .LEND              \n\
.LC:                               \n\
        movl    $71, %edi          \n\
        call    putchar@PLT        \n\
        jmp     .LEND              \n\
.LG:                               \n\
        movl    $67, %edi          \n\
        call    putchar@PLT        \n\
        jmp     .LEND              \n\
.LT:                               \n\
        movl    $65, %edi          \n\
        call    putchar@PLT        \n\
.LEND:                             \n\
        movl    $0, %eax           \n\
        popq    %rbp               \n\
        ret                        \n\
" );