During a​ session, a senate had a total of 112 Democrats and Republicans. There were 4 fewer Democrats than Republicans. How many members of each party were​ there?