I n the world of the internet, brain teasers have become one of the most popular forms of entertainment. They not only ...
/* Your class should be named Solution. * Read input as specified in the question. * Print output as specified in the question.