You are given a sequence of positive integers *a*<sub class="lower-index">1</sub>, *a*<sub class="lower-index">2</sub>, ..., *a*<sub class="lower-index">*n*</sub>. Find all such indices *i*, that the *i*-th element equals the arithmetic mean of all other elements (that is all elements except for this one).
The first line contains the integer *n* (2 ≤ *n* ≤ 2·10<sup class="upper-index">5</sup>). The second line contains elements of the sequence *a*<sub class="lower-index">1</sub>, *a*<sub class="lower-index">2</sub>, ..., *a*<sub class="lower-index">*n*</sub> (1 ≤ *a*<sub class="lower-index">*i*</sub> ≤ 1000). All the elements are positive integers.
5
1 2 3 4 5
1
3 
4
50 50 50 50
4
1 2 3 4 
3
2 3 1
1
1 
2
4 2
0
2
1 1
2
1 2 
10
3 3 3 3 3 4 3 3 3 2
8
1 2 3 4 5 7 8 9 
10
15 7 10 7 7 7 4 4 7 2
5
2 4 5 6 9 
6
2 2 2 2 2 2
6
1 2 3 4 5 6 
6
3 3 3 3 3 3
6
1 2 3 4 5 6 
4
6 6 6 7
0
2
1 2
0
3
3 3 4
0
5
7 6 6 6 6
0
4
3 5 5 9
0
3
99 100 99
0
4
5 6 5 5
0
6
1 1 2 1 1 1
0
2
4 5
0
4
1 1 1 2
0
3
1 2 4
0
6
1 1 2 3 3 3
0
4
4 5 5 4
0
3
2 3 5
0
3
2 1 1
0
3
1 1 2
0
4
1 2 3 4
0
5
1 2 3 4 6
0
3
2 2 3
0
4
3 4 5 1
0
3
2 3 2
0
3
3 4 4
0
3
10 5 7
0
3
5 6 5
0
4
1 2 3 7
0
5
2 2 3 3 3
0
3
4 3 6
0
3
1 1 3
0
15
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 
a,b = input(),input()
if '.' in a:
    a1,a2 = a.replace(' ','').split('.')
else:
    a1,a2 = a,'0'
if '.' in b:
    b1,b2 = b.replace(' ','').split('.')
else:
    b1,b2 = b,'0'

if '-' in a1:
    a1 = a1[1:]
    am = True
else:
    am = False
if '-' in b1:
    b1 = b1[1:]
    bm = True
else:
    bm = False
    
if len(a1) > len(b1):
    if am:
        print("<")
    else:
        print(">")
elif len(a1) < len(b1):
    if bm:
        print(">")
    else:
        print("<")
else:
    if a1 > b1:
        if am:
            print('<')
        else:
            print('>')
    elif a1 < b1:
        if bm:
            print('>')
        else:
            print('<')
    else:
        for i in a2[::-1]:
            if len(a2) == 1:
                break
            if i == '0':
                a2 = a2[:-1]
            else:
                break
        for i in b2[::-1]:
            if len(b2) == 1:
                break
            if i == '0':
                b2 = b2[:-1]
            else:
                break
        a2 += '0'*(max(len(a2),len(b2))-len(a2))
        b2 += '0'*(max(len(a2),len(b2))-len(b2))
        if a2 > b2:
            if am:
                print('<')
            else:
                print('>')
        elif a2 < b2:
            if bm:
                print('>')
            else:
                print('<')
        else:
            if bm and am:
                print('=')
            elif am:
                print('<')
            elif bm:
                print('>')
            else:
                print('=')
# Tue Jul 04 2023 17:05:16 GMT+0300 (Moscow Standard Time)
