8742 in words is written as :

Eight Thousand Seven Hundred and Forty Two