word="ABCDBCA"
for char in word:
    print(char)
dic={}
for char in word:
    if(char not in dic):
        dic[char]=1
    else:
        print("first recursive character",char)
        break
911353b960f2374283e5643e324c3ee048bf62d3
<mask token>

<mask token>
for char in word:
    print(char)
<mask token>
for char in word:
    if char not in dic:
        dic[char] = 1
    else:
        print('first recursive character', char)
        break

word = 'ABCDBCA'
for char in word:
    print(char)
dic = {}
for char in word:
    if char not in dic:
        dic[char] = 1
    else:
        print('first recursive character', char)
        break

word="ABCDBCA"
for char in word:
    print(char)
dic={}
for char in word:
    if(char not in dic):
        dic[char]=1
    else:
        print("first recursive character",char)
        break