Output follows: