/* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */ Scanner input ...