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-----
A

-----Sample Output-----
T

[{"code": "d = {'A': 'T', 'T': 'A', 'C': 'G', 'G': 'C'}\nprint((d[input()]))\n", "passed": true, "time": 0.15, "memory": 14096.0, "status": "done"}, {"code": "b = input()\n\nif b == 'A':\n    print('T')\n\nelif b == 'T':\n    print('A')\n\nelif b == 'C':\n    print('G')\n\nelif b == 'G':\n    print('C')", "passed": true, "time": 0.16, "memory": 14364.0, "status": "done"}, {"code": "b = input()\nb = b.replace('A', 'a')\nb = b.replace('T', 'b')\nb = b.replace('C', 'c')\nb = b.replace('G', 'd')\nb = b.replace('a', 'T')\nb = b.replace('b', 'A')\nb = b.replace('c', 'G')\nb = b.replace('d', 'C')\n\nprint(b)", "passed": true, "time": 0.25, "memory": 14272.0, "status": "done"}, {"code": "def f(c):\n  if c == \"A\":\n    return \"T\"\n  elif c == \"T\":\n    return \"A\"\n  elif c == \"C\":\n    return \"G\"\n  else:\n    return \"C\"\n\nprint(f(input()))", "passed": true, "time": 0.27, "memory": 14188.0, "status": "done"}, {"code": "# A and T , C and G\n\nb = input()\n\nif b == \"A\":\n    print(\"T\")\nelif b == \"T\":\n    print(\"A\")\nelif b == \"C\":\n    print(\"G\")\nelif b == \"G\":\n    print(\"C\")\n    \n# \u5927\u6587\u5b57\u3067\u5165\u529b\u306a\u3089\u3053\u308c\u3067\u3088\u3044\u3051\u3069\u3001\u5c0f\u6587\u5b57\u3060\u3063\u305f\u3089\u3069\u3046\u3059\u308b\u306e\u304b\u306a\u3042\n", "passed": true, "time": 0.28, "memory": 14268.0, "status": "done"}, {"code": "b =  input ()\n\nif b == \"A\":\n    print(\"T\")\nelif b == \"T\":\n    print(\"A\")\nelif b == \"G\":\n    print(\"C\")\nelif b == \"C\":\n    print(\"G\")\nelse:\n    print(\"error\")", "passed": true, "time": 0.25, "memory": 14172.0, "status": "done"}, {"code": "s=input()\nif s==\"A\":\n    print(\"T\")\nelif s==\"T\":\n    print(\"A\")\nelif s==\"G\":\n    print(\"C\")\nelif s==\"C\":\n    print(\"G\")", "passed": true, "time": 0.24, "memory": 14344.0, "status": "done"}, {"code": "b = input()\nif b == \"A\":\n  b = \"T\"\nelif b == \"T\":\n  b = \"A\"\nelif b == \"C\":\n  b = \"G\"\nelif b == \"G\":\n  b = \"C\"\nprint(b)", "passed": true, "time": 1.86, "memory": 14152.0, "status": "done"}, {"code": "c = input()\n\nd = 'AGTC'\n\nfor i in range(0,4):\n\tif d[i] == c:\n\t\tprint(d[(i+2)%4])", "passed": true, "time": 0.26, "memory": 14280.0, "status": "done"}, {"code": "b=input()\n\nif b=='A' :\n    print('T')\nelif b=='G':\n    print('C')\nelif b=='T':\n    print('A')\nelif b=='C':\n    print('G')", "passed": true, "time": 0.23, "memory": 14256.0, "status": "done"}, {"code": "b = input()\nif b == 'A':\n    print('T')\nelif b == 'T':\n    print('A')\nelif b == 'G':\n    print('C')\nelse:\n    print('G')", "passed": true, "time": 0.15, "memory": 14044.0, "status": "done"}, {"code": "\nn=str(input())\nif n=='A':\n    print('T')\nelif n=='T':\n    print('A')\nelif n=='G':\n    print('C')\nelse:\n    print('G')", "passed": true, "time": 0.22, "memory": 14256.0, "status": "done"}, {"code": "b = input()\n\nif b == \"A\":\n    print(\"T\")\nelif b == \"T\":\n    print(\"A\") \nelif b == \"C\":\n    print(\"G\") \nelse:\n    print(\"C\")      ", "passed": true, "time": 0.16, "memory": 14076.0, "status": "done"}, {"code": "print(\"ATCG\"[\"TAGC\".index(input())])", "passed": true, "time": 0.14, "memory": 14208.0, "status": "done"}, {"code": "b = input()\nif b == 'A':\n    print('T')\nelif b == 'T':\n    print('A')\nelif b == 'G':\n    print('C')\nelse:\n    print('G')", "passed": true, "time": 0.14, "memory": 14064.0, "status": "done"}, {"code": "moji = str(input())\ncorrect = [\"A\",\"C\",\"G\",\"T\"]\nind = correct.index(moji) + 1\nprint(correct[ind*-1])", "passed": true, "time": 0.15, "memory": 14164.0, "status": "done"}, {"code": "a = ['A','C','G','T']\nb = ['T','G','C','A']\nasn = ''\ns = str(input())\nfor i in range(4):\n    if s == a[i]:\n        print((b[i]))\n", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "s = input()\n\nif s == \"A\":\n  print(\"T\")\nelif s == \"T\":\n  print(\"A\")\nelif s == \"C\":\n  print(\"G\")\nelse:\n  print(\"C\")", "passed": true, "time": 0.23, "memory": 14256.0, "status": "done"}, {"code": "n=input()\nc=[\"A\",\"T\",\"G\",\"C\"]\na=[\"T\",\"A\",\"C\",\"G\"]\nfor i in range(4):\n    if n==c[i]:\n        print(a[i])\n        break", "passed": true, "time": 0.26, "memory": 14172.0, "status": "done"}, {"code": "b = input()\nif b == \"A\":\n    print(\"T\")\nelif b == \"C\":\n    print(\"G\")\nelif b == \"T\":\n    print(\"A\")\nelif b == \"G\":\n    print(\"C\")\nelse:\n    print(\"error\")", "passed": true, "time": 0.27, "memory": 14232.0, "status": "done"}, {"code": "b = input()\nif b == \"A\":\n    print(\"T\")\nelif b == \"C\" :\n    print(\"G\")\nelif b == \"G\":\n    print(\"C\")\nelif b == \"T\":\n    print(\"A\")\n", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "b = input()\ndh = {'A': 'T', 'C': 'G', 'T': 'A', 'G': 'C'}\n\nprint(dh[b])", "passed": true, "time": 0.14, "memory": 14148.0, "status": "done"}, {"code": "b = input()\n\nL = {'A': 'T', 'T': 'A', 'C': 'G', 'G': 'C'}\nprint(L[b])", "passed": true, "time": 0.25, "memory": 14248.0, "status": "done"}, {"code": "b=input()\nif b==\"A\":\n  print(\"T\")\nelif b==\"T\":\n  print(\"A\")\nelif b==\"C\":\n  print(\"G\")\nelse:\n  print(\"C\")", "passed": true, "time": 0.15, "memory": 14068.0, "status": "done"}, {"code": "table = {'A': 'T', 'T': 'A', 'G': 'C', 'C': 'G'}\nprint(table[input().rstrip()])", "passed": true, "time": 0.14, "memory": 14332.0, "status": "done"}, {"code": "b = input ()\n\nif b == \"A\":\n    print (\"T\")\n\nelif b == \"C\":\n    print (\"G\")\n\nelif b == \"T\":\n    print (\"A\")\n\nelif b == \"G\":\n    print (\"C\")", "passed": true, "time": 0.14, "memory": 14340.0, "status": "done"}, {"code": "print({\"A\":\"T\",\"T\":\"A\",\"C\":\"G\",\"G\":\"C\"}[input()])", "passed": true, "time": 0.14, "memory": 14264.0, "status": "done"}, {"code": "M = {'A':'T', 'T': 'A', 'C':'G', 'G':'C'}\nprint(M[input()])", "passed": true, "time": 0.14, "memory": 14192.0, "status": "done"}, {"code": "b=input()\nif b==\"A\":\n    print(\"T\")\nelif b==\"T\":\n    print(\"A\")\nelif b==\"C\":\n    print(\"G\")\nelse:\n    print(\"C\")", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "d = {\"A\":\"T\", \"T\":\"A\", \"G\":\"C\", \"C\":\"G\"}\nprint((d[input()]))\n", "passed": true, "time": 0.14, "memory": 14332.0, "status": "done"}, {"code": "s1 = 'ACGT'\ns2 = 'TGCA'\n\nb = input()\n\nfor i in range(4):\n    if(s1[i]==b):\n        print(s2[i])\n        break", "passed": true, "time": 0.14, "memory": 14220.0, "status": "done"}, {"code": "b = input()\n\ns0 = ['A', 'T', 'C', 'G']\ns1 = ['T', 'A', 'G', 'C']\n\nfor i, s in enumerate(s0):\n    if s == b:\n        print((s1[i]))\n        break\n", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "x = input()\n\nif x == 'A':\n    print('T')\nelif x == 'C':\n    print('G')\nelif x == 'G':\n    print('C')\nelse:\n    print('A')", "passed": true, "time": 0.18, "memory": 14280.0, "status": "done"}, {"code": "b = input()\n\nprint('A') if b == 'T' else print('T') if b == 'A' else print('C') if b == 'G' else print('G')", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "b = input()\ndic = {\n    'A':'T',\n    'T':'A',\n    'C':'G',\n    'G':'C'\n}\n \nprint((dic[b]))\n", "passed": true, "time": 0.15, "memory": 14216.0, "status": "done"}, {"code": "# \u5165\u529b\nb = input()\n\n# \u51e6\u7406&\u51fa\u529b\nif b == 'A':\n    print('T')\nelif b == 'T':\n    print('A')\n\nif b == 'C':\n    print('G')\nelif b == 'G':\n    print('C')", "passed": true, "time": 0.17, "memory": 14132.0, "status": "done"}, {"code": "b=input()\n\nif b==\"A\":\n    ans=\"T\"\n\nelif b==\"T\":\n    ans=\"A\"\n    \nelif b==\"C\":\n    ans=\"G\"\n    \nelse:\n    ans=\"C\"\n    \nprint(ans)", "passed": true, "time": 0.27, "memory": 14256.0, "status": "done"}, {"code": "# ABC122\n# A Double Helix\n# AT CG\nb = input()\n\nif b == \"A\":\n    print(\"T\")\nelif b == \"T\":\n    print(\"A\")\nelif b == \"C\":\n    print(\"G\")\nelse:\n    print(\"C\")\n", "passed": true, "time": 0.15, "memory": 14072.0, "status": "done"}, {"code": "l = ['A','C','G','T']\nprint(l[3-l.index(input())])", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "b = input()\nif b == 'A':\n   print('T')\nelif b == 'T':\n   print('A')\nelif b == 'C':\n   print('G')\nelse:\n   print('C')", "passed": true, "time": 0.17, "memory": 14216.0, "status": "done"}, {"code": "# A - Double Helix\n\nb = input()\n\nif b == 'A':\n    print('T')\nelif b == 'T':\n    print('A')\nelif b == 'G':\n    print('C')\nelif b == 'C':\n    print('G')", "passed": true, "time": 0.17, "memory": 14228.0, "status": "done"}, {"code": "b = input()\n\nif b == 'A':\n    print('T')\nelif b == 'T':\n    print('A')\nelif b == 'C':\n    print('G')\nelse:\n    print('C')\n", "passed": true, "time": 0.16, "memory": 14304.0, "status": "done"}, {"code": "b = input()\n\nif b == 'A':\n    ans = 'T'\nelif b == 'C':\n    ans = 'G'\nelif b == 'G':\n    ans = 'C'\nelif b == 'T':\n    ans = 'A'\n\nprint(ans)", "passed": true, "time": 0.17, "memory": 14332.0, "status": "done"}, {"code": "b = str(input())\n\nbasis = ['A', 'C', 'G', 'T']\nlabel = basis.index(b)\nprint(basis[3-label])", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "b = input()\nif(b == 'A' or b == 'T'):\n    if(b == 'A'):\n        print(\"T\")\n    else:\n        print(\"A\")\nelse:\n    if(b == 'C'):\n        print('G')\n    else:\n        print('C')\n", "passed": true, "time": 0.17, "memory": 14176.0, "status": "done"}, {"code": "b = input()\nif b ==\"A\":\n    print(\"T\")\nelif b ==\"T\":\n    print(\"A\")\nelif b ==\"C\":\n    print(\"G\")\nelif b ==\"G\":\n    print(\"C\")", "passed": true, "time": 0.14, "memory": 14360.0, "status": "done"}, {"code": "b = input()\n\nif b == 'A':\n    print(\"T\")\n\nelif b == 'T':\n    print(\"A\")\n\nelif b == 'C':\n    print(\"G\")\n\nelif b == 'G':\n    print(\"C\")\n", "passed": true, "time": 0.17, "memory": 14132.0, "status": "done"}, {"code": "b = input()\n\nif b =='A':\n    print('T')\n\nelif b == 'T':\n    print('A')\n\nelif b == 'C':\n    print('G')\n\nelif b == 'G':\n    print('C')\n", "passed": true, "time": 0.14, "memory": 14264.0, "status": "done"}, {"code": "print(input().replace(\"A\",\"a\").replace(\"T\",\"A\").replace(\"a\",\"T\").replace(\"G\",\"g\").replace(\"C\",\"G\").replace(\"g\",\"C\"))", "passed": true, "time": 0.14, "memory": 14060.0, "status": "done"}, {"code": "b = input()\na = {'A':'T', 'T':'A', 'C':'G', 'G':'C'}\nprint(a[b])", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "b=input()\nif b==\"A\":\n  print(\"T\")\nelif b==\"T\":\n  print(\"A\")\nelif b==\"C\":\n  print(\"G\")\nelse:\n  print(\"C\")", "passed": true, "time": 0.15, "memory": 14328.0, "status": "done"}, {"code": "S = input()\nif S=='G':\n  print('C')\nelif S=='C':\n  print('G')\nelif S=='A':\n  print('T')\nelse:\n  print('A')", "passed": true, "time": 0.22, "memory": 14080.0, "status": "done"}, {"code": "b = input()\nif b == \"A\":\n  print(\"T\")\nelif b == \"T\":\n  print(\"A\")\nelif b == \"C\":\n  print(\"G\")\nelif b == \"G\":\n  print(\"C\")", "passed": true, "time": 0.14, "memory": 14256.0, "status": "done"}, {"code": "a = input()\nif a == 'A':\n  print('T')\nelif a == 'T':\n  print('A')\nelif a == 'C':\n  print('G')\nelse:\n  print('C')\n", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "b=input()\nprint(\"A\" if b==\"T\" else \"T\" if b==\"A\" else \"G\" if b==\"C\" else \"C\")", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "b = input()\n\nif b == 'A':\n    print('T')\nelif b == 'T':\n    print('A')\nelif b == 'G':\n    print('C')\nelif b == 'C':\n    print('G')", "passed": true, "time": 0.16, "memory": 14316.0, "status": "done"}, {"code": "d = {'A':'T', 'T':'A', 'C':'G', 'G':'C'}\nprint((d[input()]))\n\n", "passed": true, "time": 0.23, "memory": 14096.0, "status": "done"}, {"code": "b = input()\n\nif b == 'A':\n    print('T')\nelif b == 'C':\n    print('G')\nelif b == 'G':\n    print('C')\nelse:\n    print('A')", "passed": true, "time": 0.14, "memory": 14200.0, "status": "done"}, {"code": "a = input()\nprint(\"A\" if a ==\"T\" else \"T\" if a ==\"A\" else \"G\" if a ==\"C\" else \"C\")", "passed": true, "time": 0.3, "memory": 13920.0, "status": "done"}, {"code": "# 4\u7a2e\u985e\u306e\u5869\u57fa A,C,G,T \u304c\u5b58\u5728\u3057\u3001 A \u3068 T \u3001 C \u3068 G \u304c\u305d\u308c\u305e\u308c\u5bfe\n# A,C,T,G \u3044\u305a\u308c\u304b\u306e\u6587\u5b57 b \u304c\u5165\u529b\u3055\u308c\u308b\n# \u5869\u57fa b \u3068\u5bfe\u306b\u306a\u308b\u5869\u57fa\u3092\u3042\u3089\u308f\u3059\u6587\u5b57\u3092\u51fa\u529b\n\nb = input()\n\nif b == 'A':\n    print('T')\nelif b == 'C':\n    print('G')\nelif b == 'G':\n    print('C')\nelse:\n    print('A')", "passed": true, "time": 0.14, "memory": 14276.0, "status": "done"}, {"code": "p = {'A':'T', 'T':'A', 'G':'C', 'C':'G'}\nprint(p[input()])", "passed": true, "time": 0.33, "memory": 13984.0, "status": "done"}, {"code": "b = input()\nif b == 'A':\n    print('T')\nelif b == 'T':\n    print('A')\nelif b == 'C':\n    print('G')\nelif b == 'G':\n    print('C')", "passed": true, "time": 0.23, "memory": 14124.0, "status": "done"}, {"code": "s = input()\nif s == 'A':\n    print('T')\nelif s == 'T':\n    print('A')\nelif s == 'C':\n    print('G')\nelif s == 'G':\n    print('C')\n", "passed": true, "time": 0.23, "memory": 14268.0, "status": "done"}, {"code": "char = input()\n\nanswer = ''\nif char == 'A':\n    answer = 'T'\nelif char == 'C':\n    answer = 'G'\nelif char == 'G':\n    answer = 'C'\nelse:\n    answer = 'A'\n\nprint(answer)", "passed": true, "time": 0.21, "memory": 14220.0, "status": "done"}, {"code": "c = input()\n\nif c == 'A':\n\tprint('T')\nelif c == 'T':\n\tprint('A')\nelif c == 'C':\n\tprint('G')\nelse:\n\tprint('C')", "passed": true, "time": 0.19, "memory": 14164.0, "status": "done"}, {"code": "b=input()\n\nif b==\"A\":\n\tprint(\"T\")\nelif b==\"T\":\n\tprint(\"A\")\nelif b==\"C\":\n\tprint(\"G\")\nelse:\n\tprint(\"C\")", "passed": true, "time": 0.18, "memory": 14280.0, "status": "done"}, {"code": "b = str(input())\n\nif b == 'A':\n  print('T')\nelif b == 'T':\n  print('A')\nelif b == 'C':\n  print('G')\nelse:\n  print('C')", "passed": true, "time": 0.15, "memory": 14132.0, "status": "done"}, {"code": "#N, K=map(int,input().split())\nb = str(input())\n\ndef main():\n    if b == \"A\":\n        print(\"T\")\n    elif b == \"T\":\n        print(\"A\")\n    elif b == \"C\":\n        print(\"G\")\n    elif b == \"G\":\n        print(\"C\")\n\ndef __starting_point():\n    main()\n__starting_point()", "passed": true, "time": 0.15, "memory": 14256.0, "status": "done"}, {"code": "b = input()\n\nif b == \"A\":\n    print(\"T\")\nif b == \"T\":\n    print(\"A\")\nif b == \"C\":\n    print(\"G\")\nif b == \"G\":\n    print(\"C\")", "passed": true, "time": 0.19, "memory": 14128.0, "status": "done"}, {"code": "b=input()\nif b=='A':\n  print('T')\nif b=='T':\n  print('A')\nif b=='C':\n  print('G')\nif b=='G':\n  print('C')", "passed": true, "time": 0.34, "memory": 14132.0, "status": "done"}, {"code": "def main():\n    b = input()\n    if   b == \"A\": print(\"T\")\n    elif b == \"T\": print(\"A\")\n    elif b == \"C\": print(\"G\")\n    else:          print(\"C\")\n\nmain()", "passed": true, "time": 0.16, "memory": 14044.0, "status": "done"}, {"code": "s = input()\n\nif s == 'A':\n    print('T')\nelif s == 'T':\n    print('A')\nelif s == 'G':\n    print('C')\nelif s == 'C':\n    print('G')", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "b = input()\n\nif b == 'A':\n    print('T')\nelif b == 'T':\n    print('A')\nelif b == 'C':\n    print('G')\n\nelif b == ('G'):\n    print('C')\n", "passed": true, "time": 0.15, "memory": 14160.0, "status": "done"}, {"code": "b = input()\nif b == \"A\":\n    print(\"T\")\nelif b == \"C\":\n    print(\"G\")\nelif b == \"G\":\n    print(\"C\")\nelse:\n    print(\"A\")\n", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "b = input()\n\nif b == 'A':\n    print('T')\nelif b == 'T':\n    print('A')\nelif b == 'C':\n    print('G')\nelse:\n    print('C')", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "b=input()\nif b==\"A\":\n    print(\"T\")\nif b==\"T\":\n    print(\"A\")\nif b==\"C\":\n    print(\"G\")\nif b==\"G\":\n    print(\"C\")\n", "passed": true, "time": 0.23, "memory": 14348.0, "status": "done"}, {"code": "b = input()\n\nif b == 'A':\n    print('T')\nelif b == 'T':\n    print('A')\nelif b == 'C':\n    print('G')\nelif b == 'G':\n    print('C')\n", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "a = input()\nif a == \"A\":\n  print(\"T\")\nelif a == \"T\":\n  print(\"A\")\nelif a == \"G\":\n  print(\"C\")\nelse:\n  print(\"G\")", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "# author:  Taichicchi\n# created: 09.09.2020 23:20:32\n\nimport sys\n\nb = input()\n\nd = {\n    \"A\" : \"T\",\n    \"T\" : \"A\",\n    \"G\" : \"C\",\n    \"C\" : \"G\",\n}\n\nprint(d[b])", "passed": true, "time": 0.14, "memory": 14168.0, "status": "done"}, {"code": "b = input()\n\nif b == \"A\":\n    print(\"T\")\nif b == \"C\":\n    print(\"G\")\nif b == \"T\":\n    print(\"A\")\nif b == \"G\":\n    print(\"C\")\n", "passed": true, "time": 0.14, "memory": 14332.0, "status": "done"}, {"code": "# A,Double Helix\n# AtCoder \u661f\u306b\u306f\u56db\u7a2e\u985e\u306e\u5869\u57fa A, C, G, T \u304c\u5b58\u5728\u3057\u3001A \u3068 T\u3001C \u3068 G \u304c\u305d\u308c\u305e\u308c\u5bfe\u306b\u306a\u308a\u307e\u3059\u3002\n# \u6587\u5b57 b\u304c\u5165\u529b\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f A, C, G, T \u306e\u3044\u305a\u308c\u304b\u3067\u3059\u3002\u5869\u57fab\u3068\u5bfe\u306b\u306a\u308b\u5869\u57fa\u3092\u8868\u3059\u6587\u5b57\u3092\u51fa\u529b\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u304f\u3060\u3055\u3044\u3002\n\n# b\u306f\u6587\u5b57 A, C, G, T \u306e\u3044\u305a\u308c\u304b\u3067\u3042\u308b\u3002\n\nb = input()\n\n# \u5869\u57fab\u3068\u5bfe\u306b\u306a\u308b\u5869\u57fa\u3092\u8868\u3059\u6587\u5b57\u3092\u51fa\u529b\u305b\u3088\u3002\n\nif b == \"A\":\n    print(\"T\")\nelif b == \"T\":\n    print(\"A\")\nelif b == \"C\":\n    print(\"G\")\nelif b == \"G\":\n    print(\"C\")", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "b = input()\nif b == \"A\":\n    print(\"T\")\nif b == \"T\":\n    print(\"A\")\nif b == \"C\":\n    print(\"G\")\nif b == \"G\":\n    print(\"C\")\n\n", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}, {"code": "print('TCG A'[ord(input())%5])", "passed": true, "time": 0.14, "memory": 14020.0, "status": "done"}, {"code": "b = input()\nif b == 'A': print('T')\nelif b == 'T': print('A')\nelif b == 'C': print('G')\nelse: print('C')", "passed": true, "time": 0.14, "memory": 14204.0, "status": "done"}, {"code": "DNA_b = input()\n\nif DNA_b == 'A':\n    print('T')\nelif DNA_b == 'T':\n    print('A')\nelif DNA_b == \"C\":\n    print('G')\nelif DNA_b == \"G\":\n    print('C')", "passed": true, "time": 0.14, "memory": 14332.0, "status": "done"}, {"code": "a = input()\nif a == \"A\":\n    print(\"T\")\nif a == \"T\":\n    print(\"A\")\nif a == \"G\":\n    print(\"C\")\nif a == \"C\":\n    print(\"G\")", "passed": true, "time": 0.15, "memory": 14220.0, "status": "done"}, {"code": "b = str(input())\n\nif b == 'A':\n    print('T')\nif b == 'T':\n    print('A')\n\nif b == 'C':\n    print('G')\nif b == 'G':\n    print('C')", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "b = input()\nif  b == \"A\" :\n    print(\"T\")\nelif b == \"T\" :\n    print(\"A\")\nelif b == \"G\" :\n    print(\"C\")\nelif b == \"C\" :\n    print(\"G\")", "passed": true, "time": 0.14, "memory": 14136.0, "status": "done"}, {"code": "b = input()\n\nif b == 'A' or b == 'T':\n    print('AT'.replace(b,''))\nelse:\n    print('CG'.replace(b,''))", "passed": true, "time": 0.15, "memory": 14240.0, "status": "done"}, {"code": "b = input()\n\nif b == \"A\":\n    print(\"T\")\n\nelif b == \"T\":\n    print(\"A\")\n\nelif b == \"C\":\n    print(\"G\")\n\nelif b == \"G\":\n    print(\"C\")", "passed": true, "time": 0.5, "memory": 14336.0, "status": "done"}, {"code": "b = input()\n\ndict = {\n    'A':'T',\n    'T':'A',\n    'C':'G',\n    'G':'C'\n}\n\nprint(dict[b])", "passed": true, "time": 0.38, "memory": 14288.0, "status": "done"}, {"code": "b = input()\n\nif b == \"A\":\n    print(\"T\")\nelif b == \"T\":\n    print(\"A\")\nelif b == \"G\":\n    print(\"C\")\nelse:\n    print(\"G\")", "passed": true, "time": 0.14, "memory": 14168.0, "status": "done"}, {"code": "#122A\n\n#1.\u5165\u529b\u3092\u3061\u3083\u3093\u3068\u53d7\u3051\u53d6\u308b\u3053\u3068\nb=input()\n#2.\u7d50\u679c\u3092\u51fa\u529b\u3059\u308b\nif b=='A' :\n    print('T')\nelif b=='G':\n    print('C')\nelif b=='T':\n    print('A')\nelif b=='C':\n    print('G')", "passed": true, "time": 0.14, "memory": 14220.0, "status": "done"}, {"code": "s = input()\n\nif s == 'A':\n  print('T')\nelif s == 'T':\n  print('A')\nelif s == 'C':\n  print('G')\nelse:\n  print('C')", "passed": true, "time": 0.15, "memory": 14056.0, "status": "done"}, {"code": "a = input()\n\nif a==\"A\":\n    print(\"T\")\n\nelif a == \"C\":\n    print(\"G\")\n\nelif a ==\"G\":\n    print(\"C\")\n\nelse:\n    print(\"A\")", "passed": true, "time": 0.14, "memory": 13960.0, "status": "done"}, {"code": "d = dict()\nd[\"A\"] = \"T\"\nd[\"T\"] = \"A\"\nd[\"C\"] = \"G\"\nd[\"G\"] = \"C\"\nS = input()\nprint(d[S])", "passed": true, "time": 0.14, "memory": 14268.0, "status": "done"}, {"code": "b = input()\nif b==\"A\":\n    print(\"T\")\nelif b==\"T\":\n    print(\"A\")\nelif b==\"C\":\n    print(\"G\")\nelse:\n    print(\"C\") ", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "a=input()\nif a=='A':print('T')\nelif a=='T':print('A')\nelif a=='C':print('G')\nelse:print('C')", "passed": true, "time": 0.14, "memory": 14060.0, "status": "done"}, {"code": "b = input()\n\nif b == 'A':\n    print('T')\nelif b == 'T':\n    print('A')\nelif b == 'G':\n    print('C')\nelse:\n    print('G')", "passed": true, "time": 0.14, "memory": 13932.0, "status": "done"}]