To get words from integer values look at using the switch statement
or using if/else if statements to test the int value and set the word.

Are the values integers or Strings? 1 or "1"
If they...