The function f(x) takes a string input and replaces certain words in the input with their corresponding "Bn" version.

