How would i go about balancing the following equation? My teacher said something about the charges:

Silver Nitrate + Sodium Phosphate = Silver Phosphate + Sodium Nitrate

3AgNO3 + Na3PO4 ==> Ag3PO4 + 3NaNO3