Some number was divided into 42. This quotient was then multiplied by 8,after which the resulting product was added to 10. Given this sum totalled to 34,find the initial number.