You are sitting in chemistry class and your friend keep sending you these strange letters. It is your job to decrypt the messages into words.
This is the inverse of this challenge.
Input: A list or a string of integers from 1 to 118.
Output: The words for each chemical element if possible. Otherwise return False, throw an error, or blank. Note in your program 0 must return a whitespace or newline. Ignore all integers not in range.
Test cases Input 1:
9 53 75
91 120 91
9 53 75 0 53 16 0 9 92 7
fire is fun
Note: Again no built in functions for generating the periodic system or external libaries. Standard loopholes are not allowed.
Submissions will be scored in bytes. I recommend this website to keep track of your byte count, though you can use any counter you like.
This is code-golf, so the lowest score wins!