This question already has an answer here:
Given a sequence of letters, write a program to construct it using symbols on the periodic table. For example, given the input
bacon, the program should output:
BaCoN BAcON BaCON
Note that capitalization is important. Standard loopholes apply. If a word can't be formed, any error message may be printed.
Edit: All possible ways to make the sequence must be output.