# i = 0
# while i<5:
#     print i
#     i += 1
#     if i == 3:
#         break
# else:
#     print 0

# i = 0
# while i<3:
#     print i
#     i+=1
# else:
#     print 0

# x = "abcdef"
# while i in x:
#     print i

# x = "abcdef"
# i = "i"
# while i in x:
#     print i

# x = "abcdef"
# i = "a"
# while i in x:
#     print 'i'

# x = "abcdef"
# i = "a"
# print x[:-1]
# while i in x:
#     x = x[:-1]
#     print 'i'

# x = "abcdef"
# i = "a"
# while i in x:
#     x = x[:-1]
#     print i

# x = "abcdef"
# i = "a"
# while i in x[:-1]:
#     print i

# x = "abcdef"
# i = "a"
# while i in x:
#     x = x[1:]
#     print i

x = "abcdef"
i = "a"
while i in x[1:]:
    print i