A snail and a worm are coming toward each other. The snail can travel two-thirds of a foot for each three-eighths of a foot the worm travels. If they cover a total of 50 feet, how far does the snail travel?