Big Number of Teams will Solve This

UVA - 11734