8042 in words is written as :

Eight Thousand Forty Two