In a school tournament, there are 16 teams participating in a single-elimination format, where the losing team of each game is eliminated. How many total games will be played to determine the winner of the tournament? Let's think step by step and output the final answer within \boxed{}.
user