Minor changes, and Input is commented.