Three teams of woodcutters take part in a competition.The first and the third teams put together produced twice the amount cut by the second team.The second and the third team put together yielded a three-folded output as compared with the first team. Which of the teams won the competition?