|Write a program to translate English
text to Pig Latin. The rules for translating English to Pig Latin are:
Notice that any punctuation marks should remain unaffected by the translation.
If a word in English is capitalized, the Pig Latin word should also be
capitalized. Be sure to duplicate the word and line division during translation.
If a word begins with a vowel, add the letters 'pay' to the end of the
word. Thus, "open" becomes "openpay" and "art" becomes "artpay".
For this program, vowels are a, e, i, o, u, y, and w.
If a word begins with one or more consecutive consonants, the entire consonant
block is moved to the end of the word, and the letters 'ay' are added after
it. Thus, "paper" becomes "aperpay", "stretch" becomes "etchstray", and
"doesn't" becomes "oesn'tday".