When two treasure hunters who sneak into the tree house accidentally go to the past, Nasreddin Hoca and the children go after them to bring them back, when the treasure hunters go to prison there, they come back with the