def problem_p03085(input_data):
    b = eval(input_data)

    if b == "T":

        return "A"

    elif b == "A":

        return "T"

    elif b == ("G"):

        return "C"

    else:

        return "G"
