A football team is on the 40-yard line after four plays. On the first play they gained 15 yards. On the second play they lost 6 yards. They gained 3 yards on the third play and twice as many on the fourth play. On which yard line did the team begin?