Problem A - SMS Encoder ----------------------- People who use SMS (Short Message Service) to send text messages on their mobile telephones and other devices often abbreviate phrases to squeeze more meaning into a message that is required to be short. You must write a programme that takes an input string and creates an SMS version of it by doing some simple substitutions. First you should replace some words by their abbreviations. Below is a list of the word substitutions you should make. later -> l8r at -> @ that -> th@ to -> 2 for -> 4 one -> 1 see -> c you -> u be -> b not -> ! love -> luv Note that you should *not* replace portions of words using the above rules. For example, do not change "into" to "in2". After making the word substitutions, you should replace double s by $, double t by #. Thus, "kiss" becomes "ki$", "pretty" becomes "pre#y". Input Format ------------ The first line of the input file will contain the number of words in the passage to be translated. All input will be presented in lower-case letters, and there will be no punctuation. Words will be separated by spaces or carriage returns. Output Format ------------- You should output the encoded message with the same spacing as the original message. Sample Input (for Valentine's Day) ------------ 63 to be or not to be see you later sometimes with one i love i fill myself with rage for fear i effuse unreturnd love but now i think there is no unreturnd love the pay is certain one way or another i loved a certain person ardently and my love was not returnd yet out of that i have written these songs Output for Sample Input ----------------------- 2 b or ! 2 b c u l8r sometimes with 1 i luv i fill myself with rage 4 fear i effuse unreturnd luv but now i think there is no unreturnd luv the pay is certain 1 way or another i loved a certain person ardently and my luv was ! returnd yet out of th@ i have wri#en these songs