At a basketball game, 45% of people attending were supporting the home team, while 55% were supporting the visiting team. If 1413 people attending the game supported the home team, what was the total number of people attending the game?