Edugoog
The alphabets in the given words are coded as follows :
S is coded as 6, T as 5, A as 4, I as 7 and N as 8. So, STAIN is coded as 65478.