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: Wrong Answer)

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