Introduction - If you have any usage issues, please Google them yourself
English words in complex problems
Write a program, the rules of English nouns English words) (without regard to the following rules are not met by the singular into plural. Known rules are as follows:
a) to the end of the consonants y, then y changed to i, plus es
b) s, x, ch, sh End, then add es
c) end with a vowel o add es
d) other circumstances directly add s.
Requirements of the rules of English nouns, keyboard input and screen output of the plural form of the noun.
Sample input:
box
Sample Output:
Boxes