Extracted and printed the word