#21303: python 3


jerjer920813@gmail.com (YJ)


try:

    a = []

    while True:

        a.append(int(input()))

        a.sort()

        n = len(a)

        if n % 2 == 0:

            print((a[n//2] + a[(n//2)-1])//2)

        else:

            print(a[(n-1) // 2])

except EOFError:

    pass

#21305: Re:python 3


asnewchien@gmail.com (david)


解題報告不要直接貼答案。