Here the solution


#1

def main():
S = input()

#Print length of the string S
print(len(S))
print(S.index("a"))
#Note it is guaranteed that letter a is present in the string S
#Print all the characters with even index in S
for i in range(0,len(S),2):
    print(S[i],end="")
return 0

if name == ‘main’:
main()