In a meeting of 3 representatives from each of 6 different companies, each person shook hands with every person not from his or her own company.If the representatives did not shake hands with people from their own company, how many handshakes took place?