three men go to forest with some apples. At night one of them gets up and divide the apples in 3equal parts and one apple is leftwhich he gives to monkey. After some time 2nd of them gets up and divide the left apples in three equal parts. And again one apple is left which he gives to monkey. After some time 3rd of them gets up and rapeats the same process. On the next morning all of the gets up and divide the left apples in 3 equal parts and again one apple is left which the give them to monkey.now all apples are finished. How much apples did they have at first while started the journey.