Added Console Input Output Solution