name = input()
print(
      name + ", " + name + ", bo-b" + name[1:] + "\n" +
      "banana-fana fo-f" + name[1:] + "\n" +
      "fee-fi-mo-m" + name[1:] + "\n" +
      name + "!"
      )

name = input()
print(
      name + ", " + name + ", bo-b" + name[1:] + "\n" +
      "banana-fana fo-f" + name[1:] + "\n" +
      "fee-fi-mo-m" + name[1:] + "\n" +
      name + "!"
      )
