print required values