# word1 = input("Enter the word: ")
# char = input("Enter the character: ")
# adding = " "
# adding1 = "abs"
# for i in word1:
#     if i != char :
#         adding += i
#     elif i == char:
#         adding = adding + "," + adding1 + ',' + i
# print(adding)

#
# word = input("Enter the word: ")
# char = input("Enter the character: ")
# word2 = input("Enter the word for adding: ")
#
# adding = ""
# for i in word:
#     if i == char:
#         adding += "," +word2 + "," + i
#     elif i != char:
#         adding += i
# print(adding)
