team A and team B play in a competition team A have 12 more points than team B team A have five times as many points as team B how many points does each team have ?