Will be connecting through SFO to SYD originating in YVR. Arriving on AC to international G gates and departing international A gates. I understand that I will have to leave the secured area and go through security again. I have about 1 hour and 40 min. is this enough time?