A badminton tournament begins with 512 teams. If a team loses once, it is eliminated from competition. After the first round, 256 teams remain. After the 4th round, how many teams remain? How many rounds will be required to determine the champion?